src/components/sideMenu/layerTreePanel/layerTreePanel2.vue
@@ -2036,7 +2036,7 @@ return new ol.style.Style({ image: new ol.style.Icon({ anchor: [0.5, 1], src: "./static/SmartEarthSDK/Workers/image/xzspj/spjk.png", src: "./static/SmartEarthSDK/Workers/image/xzspj/camera.png", }), }); } @@ -2274,6 +2274,7 @@ // }); }); }, //企业信息加载 qiyeCluster(treeNode) { if (treeNode.checked == false) { window.mapapi.removeLayer(window.qiyeclusterLayer); @@ -2294,7 +2295,6 @@ treeNode.layer, }); console.log(vectorSource,'11111') // 创建聚合层 var clusterSource = new ol.source.Cluster({