Sfoglia il codice sorgente

add level property

tags/2.12.0
Caven Chen 3 anni fa
parent
commit
70d47996d4
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4
    0
      modules/viewer/Viewer.js

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

@@ -178,6 +178,10 @@ class Viewer {
return Cesium.Rectangle.fromDegrees(min.lng, min.lat, max.lng, max.lat)
}

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

/***
*
* @param layerGroup

Loading…
Annulla
Salva