viewer.scene.open("
https://www.supermapol.com/realspace/services/3D-QingXieSheYingMoXing/rest/realspace").then((layers) => {
actions.setChangeLayers();
layers.forEach(layer => {
layer.ignoreNormal = true;
layer.computeHeight = true;
layer.clearMemoryImmediately = false; //移出视线后不清掉内存
layer.indexedDBSetting.isGeoTilesRootNodeSave=true; //是否保存根节点
layer.indexedDBSetting.isGeoTilesSave=true; //是否保存切片缓存,容易崩溃
});
});
通过open打开三维倾斜摄影模型,如何控制一开始初始不显示,点击按钮后显示