소스 검색

图层切换修改

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) {