text stringlengths 0 8.81k |
|---|
DeveloperError |
: Element with id does not exist in the document. |
DeveloperError |
: dropTarget is already defined by another mixin. |
DeveloperError |
: dropEnabled is already defined by another mixin. |
DeveloperError |
: dropError is already defined by another mixin. |
DeveloperError |
: clearOnDrop is already defined by another mixin. |
Example: |
// Add basic drag and drop support and pop up an alert window on error. |
const viewer = new Cesium.Viewer('cesiumContainer'); |
viewer.extend(Cesium.viewerDragDropMixin); |
viewer.dropError.addEventListener(function(viewerArg, source, error) { |
window.alert('Error processing ' + source + ':' + error); |
}); |
viewerPerformanceWatchdogMixin(viewer, options) |
widgets/Source/Viewer/viewerPerformanceWatchdogMixin.js 24 |
A mixin which adds the PerformanceWatchdog widget to the Viewer widget. |
Rather than being called directly, this function is normally passed as |
a parameter to Viewer#extend, as shown in the example below. |
Name |
Type |
Description |
viewer |
Viewer |
The viewer instance. |
options |
object |
optional |
An object with properties. |
Name |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.