From dabe6f1b9544223604ce533edfa1710c415a8121 Mon Sep 17 00:00:00 2001
From: 陈泽平 <qibolin02429@126.com>
Date: 星期五, 14 五月 2021 16:26:05 +0800
Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop
---
src/components/LayerController/service/LayerFactory.js | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/components/LayerController/service/LayerFactory.js b/src/components/LayerController/service/LayerFactory.js
index 51fe254..8d7c1c6 100644
--- a/src/components/LayerController/service/LayerFactory.js
+++ b/src/components/LayerController/service/LayerFactory.js
@@ -1,8 +1,7 @@
import WfsLayerService from './WfsLayerService'
-import { clone } from '../../../utils/utils'
+import { clone, pulseEffect } from '../../../utils/utils'
import { logicMapper, SERVICE_TYPE } from '../../../conf/Constants'
import WmsLayerService from './WmsLayerService'
-import AnimalService from './AnimalService'
/**
* init 鍙垵濮嬪寲涓�娆�
@@ -18,8 +17,8 @@
this.layersLogic = {}
this.minZoomLayers = {}
this.wmsLayers = []
+ // todo 寰呬紭鍖栵紝wmslayerservice璋冪敤锛屾斁杩欓噷涓嶅悎閫�
this.clickSwitch = true // 鍥惧眰鐐瑰嚮寮圭獥寮�鍏�
- this.animalService = new AnimalService({ L: this.L })
this.hightlightLayer = options.L.featureGroup({}).addTo(window.map)
}
@@ -225,7 +224,7 @@
if (point.length > 2) {
point = [point[0], point[1]]
}
- this.animalService.pulseEffect(point.reverse())
+ pulseEffect(point.reverse())
/* var myIcon = this.L.divIcon({ className: 'my-div-icon' })
this.L.marker(feature.geometry.coordinates.reverse(), {
icon: myIcon
--
Gitblit v1.8.0