viewerPerformanceWatchdogMixin(viewer, options)
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.
|
异常情况:
-
DeveloperError : viewer is required.
示例:
var viewer = new Cesium.Viewer('cesiumContainer');
viewer.extend(Cesium.viewerPerformanceWatchdogMixin, {
lowFrameRateMessage : 'Why is this going so slowly?'
});

























![[GIS书籍]QGIS操作手册](https://image.malagis.com/pic/gis/2017-07-28_21_35_17_1501248917.35181.jpg?imageView2/1/w/100/h/70)







