|
@@ -255,7 +255,7 @@ export default {
|
|
click: 'abc',
|
|
click: 'abc',
|
|
parameter: pointList[i],
|
|
parameter: pointList[i],
|
|
keepBindPopup: false,
|
|
keepBindPopup: false,
|
|
- isAggregation: true
|
|
|
|
|
|
+ isAggregation: false
|
|
}
|
|
}
|
|
markersMap.icon = 'sj-icon-map-' + pointList[i].type.replaceAll("_", "-");
|
|
markersMap.icon = 'sj-icon-map-' + pointList[i].type.replaceAll("_", "-");
|
|
markersMap.lng = pointList[i].longitude;
|
|
markersMap.lng = pointList[i].longitude;
|
|
@@ -307,12 +307,14 @@ export default {
|
|
// this.$emit(clickName, markersList[i].parameter)
|
|
// this.$emit(clickName, markersList[i].parameter)
|
|
// })
|
|
// })
|
|
}
|
|
}
|
|
- for (let i = 0; i < markersList.length; i++) {
|
|
|
|
- setTimeout(() => {
|
|
|
|
|
|
+
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ this.$refs.supermapDetail.clearM(false);
|
|
|
|
+ // for (let i = 0; i < markersList.length; i++) {
|
|
// alert(markersList[i].type)
|
|
// alert(markersList[i].type)
|
|
- this.$refs.supermapDetail.setMarkersByType([markersList[i]], markersList[i].type);
|
|
|
|
- }, 3000)
|
|
|
|
- }
|
|
|
|
|
|
+ this.$refs.supermapDetail.setMarkers(markersList);
|
|
|
|
+ // }
|
|
|
|
+ }, 2000)
|
|
// setTimeout(() => {
|
|
// setTimeout(() => {
|
|
// this.$refs.supermapDetail.setMarkersByType(markersList, type);
|
|
// this.$refs.supermapDetail.setMarkersByType(markersList, type);
|
|
// }, 3000)
|
|
// }, 3000)
|