瀏覽代碼

图层切换修改

limeng 2 年之前
父節點
當前提交
378b380e38
共有 1 個文件被更改,包括 1 次插入1 次删除
  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) {