Pārlūkot izejas kodu

图层切换修改

limeng 2 gadi atpakaļ
vecāks
revīzija
378b380e38
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/views/traffic.vue

+ 1 - 1
src/views/traffic.vue

@@ -881,7 +881,7 @@ export default {
               keepBindPopup: false,
               isAggregation: false
             }
-            if (this.eventList.length > 50) {
+            if (this.eventList.length >= 200) {//事件大于等于200 开启聚合显示落点
               markersMap.isAggregation = true
             }
             if (this.eventList[i].eventStatusValue == 'forest_event_status_1' && this.eventList[i].urgeCount == 0) {