From c42c548a635e7086f6cffc132625c5c7902b63b5 Mon Sep 17 00:00:00 2001 From: 陈泽平 <chenzeping> Date: 星期六, 29 五月 2021 11:12:48 +0800 Subject: [PATCH] 企业应急-事件上报-定位修改 --- src/components/LayerController/service/LayerFactory.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/components/LayerController/service/LayerFactory.js b/src/components/LayerController/service/LayerFactory.js index c586a1c..f7230ba 100644 --- a/src/components/LayerController/service/LayerFactory.js +++ b/src/components/LayerController/service/LayerFactory.js @@ -132,7 +132,7 @@ layer.addTo(this.map) } } else { - logic && logic.init(this.addLayer(config), this.L) + logic && logic.init(this.addLayer(config), this.L, config) } logic && logic.start && logic.start() this.wmsLayerService && this.wmsLayerService.add(config) -- Gitblit v1.8.0