|
@@ -685,7 +685,7 @@ export default {
|
|
|
|
|
|
}
|
|
|
},
|
|
|
- setMarkersByType: function(markersList, type) { //地图标点
|
|
|
+ setMarkersByType: function(markersList, type) { //地图标点(根据类型,可取消落点 clearMByType方法)
|
|
|
const _that = this
|
|
|
let lay = []
|
|
|
let myGroup = []
|
|
@@ -738,8 +738,6 @@ export default {
|
|
|
_that.myGroupBytype.push({ type: type, myGroup: myGroup })
|
|
|
this.map.addLayer(myGroup)
|
|
|
}
|
|
|
- console.log(_that.layersBytype)
|
|
|
- console.log(_that.myGroupBytype)
|
|
|
},
|
|
|
setMarkersRadius: function(markersList) { //地图标点带范围
|
|
|
const _that = this
|