Question about Viewer and viewerDragDropMixin

What urls do you need to import and what source do you need to have in order for the Viewer to extend viewerDragDropMixin? The viewer is working for me, but I return this error “Uncaught ReferenceError: viewerDragDropMixin is not defined”.


@import url(Cesium/Widgets/CesiumWidget/CesiumWidget.css);

@import url(Cesium/Widgets/Viewer/Viewer.css);

Try replacing the last line with: viewer.extend(Cesium.viewerDragDropMixin);


Thank you, that worked! However, the czml file won’t play like it would when I used CesiumViewerWidget in the past. Is there something wrong with my code that prevents it from playing? -Adam

Never mind! I just upgraded to the 19th version of Cesium and that code worked just fine. Thanks for again for helping me, -Adam

Glad to hear it works. I just filed this: