|
@@ -1169,7 +1169,8 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
//详情页tab切换地图绘制相关清空
|
|
|
- toggleInfoTab(points) {
|
|
|
+ toggleInfoTab(type,index) {
|
|
|
+ console.log(type,index)
|
|
|
if (this.markerLayer) {
|
|
|
this.map.removeLayer(this.markerLayer);
|
|
|
this.markerLayer = null;
|
|
@@ -1193,6 +1194,13 @@ export default {
|
|
|
this.map.removeLayer(this.cyyqLayer);
|
|
|
this.cyyqLayer = null;
|
|
|
}
|
|
|
+ if(type=='jbxx'){
|
|
|
+ //现状分析
|
|
|
+ if(index==1){
|
|
|
+ //this.layers[3].layers.forEach(item=>item.checked=true);
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
},
|
|
|
addClusterLayer(points) {
|
|
|
this.nearMarkerList.forEach((ele) => {
|