src/views/Tools/AddOnlineMap.vue
@@ -290,7 +290,7 @@ format: "image/jpeg", tileMatrixSetID: "GoogleMapsCompatible", })) debugger window.olBaseMapLayer = new TileLayer({ title: "高德地图", source: new XYZ({ @@ -340,8 +340,11 @@ window.map.addLayer(window.olBaseMapLayer); } Viewer.imageryLayers.lowerToBottom(window.BaseMapLayer);//将图层移到最底层 Viewer.imageryLayers.raise(window.BaseMapLayer);//将图层移到最底层 Viewer.imageryLayers.raise(window.BaseMapLayer);//将图层上移一层 if (is_production) { Viewer.imageryLayers.raise(window.BaseMapLayer);//将图层上移一层 } }, // 添加数据 addData() {