Kaynağa Gözat

图层切换修改

limeng 2 yıl önce
ebeveyn
işleme
378b380e38
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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) {