Explorar el Código

add level property

tags/2.12.0
Caven Chen hace 3 años
padre
commit
70d47996d4
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4
    0
      modules/viewer/Viewer.js

+ 4
- 0
modules/viewer/Viewer.js Ver fichero

@@ -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

Cargando…
Cancelar
Guardar