From fb871f8d051b69735907d609e4ffc4b3da28fca7 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 17 Mar 2021 10:46:38 +0800
Subject: [PATCH] 部分接口协议,端口,域名更换,实时报警中得实时警情弹框和警情核实弹框样式更改
---
public/map/widgets/map/MapWidget.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/public/map/widgets/map/MapWidget.js b/public/map/widgets/map/MapWidget.js
index a7e1d18..9a19124 100644
--- a/public/map/widgets/map/MapWidget.js
+++ b/public/map/widgets/map/MapWidget.js
@@ -121,6 +121,7 @@
AppEvent.addAppEventListener(AppEvent.ADD_TOP_MOST_LAYER, lang.hitch(this, this.onAddTopMostLayer));
},
onload: function () {
+ AppEvent.dispatchAppEvent("mapLoad",this.map);
//var listNode = this.map.attribution.listNode;
var listNode = this.domNode;
var scalebar = new Scalebar({
@@ -236,7 +237,7 @@
}
}
}))
- AppEvent.dispatchAppEvent("mapLoad", this.map);
+
return this.map
},
appendToolHandler: function (data) {
--
Gitblit v1.9.3