src/components/preview_map.vue
@@ -39,9 +39,9 @@ //显示fps Viewer.scene.debugShowFramesPerSecond = false; //导航控件 window.sgworld.navControl("nav", false); // window.sgworld.navControl("nav", false); //比例尺 window.sgworld.navControl("scale", false); // window.sgworld.navControl("scale", false); //开启深度检测 // sg.Analysis.depthTestAgainstTerrain(true) Viewer.scene.globe.depthTestAgainstTerrain = true; @@ -86,7 +86,7 @@ Viewer.imageryLayers.removeAll(); var url = res.url.split(';') console.log(url) sgworld.Creator.createImageryProvider('mpt影像', "wms", { url: url[0],