Browse Source

add level property

tags/2.12.0
Caven Chen 3 years ago
parent
commit
70d47996d4
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      modules/viewer/Viewer.js

+ 4
- 0
modules/viewer/Viewer.js View File

return Cesium.Rectangle.fromDegrees(min.lng, min.lat, max.lng, max.lat) return Cesium.Rectangle.fromDegrees(min.lng, min.lat, max.lng, max.lat)
} }


get level() {
return this._delegate.scene.globe._surface._debug.maxDepthVisited
}

/*** /***
* *
* @param layerGroup * @param layerGroup

Loading…
Cancel
Save