egovamap 0.31.12 → 0.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/egovamap/egovaBI.js
CHANGED
|
@@ -136,6 +136,15 @@ var egovaBI = function (globeMap, gisMap, mapType) {
|
|
|
136
136
|
p.hSymbolUrl = options.selected.hSymbolUrl;
|
|
137
137
|
p.scale = options.textStyle.scale;
|
|
138
138
|
p.angle = options.textStyle.angle;
|
|
139
|
+
// 适配选中效果的放大倍数和高亮图片
|
|
140
|
+
if (options.selectStyle && options.selectStyle.enable) {
|
|
141
|
+
if (options.selectStyle.scaleEnabled) {
|
|
142
|
+
p.hScale = options.selectStyle.scaleFactor;
|
|
143
|
+
}
|
|
144
|
+
if (options.selectStyle.imgUrl) {
|
|
145
|
+
p.hSymbolUrl = options.selectStyle.imgUrl;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
139
148
|
//classify symbol
|
|
140
149
|
if (options.textStyle.enableClassify) {
|
|
141
150
|
const customScheme = options.textStyle.customScheme;
|
|
@@ -2747,6 +2747,10 @@ var EGovaGISMap = function (
|
|
|
2747
2747
|
that.searchRegionInfo = function (params, callback) {
|
|
2748
2748
|
that.callMap("searchRegionInfo", params, callback);
|
|
2749
2749
|
};
|
|
2750
|
+
|
|
2751
|
+
that.playPoint = function (params) {
|
|
2752
|
+
that.callMap("playPoint", params);
|
|
2753
|
+
};
|
|
2750
2754
|
that.init();
|
|
2751
2755
|
};
|
|
2752
2756
|
|
package/egovamap/egovamap.js
CHANGED
|
@@ -5243,6 +5243,14 @@ var EGovaMap = function (
|
|
|
5243
5243
|
}
|
|
5244
5244
|
};
|
|
5245
5245
|
|
|
5246
|
+
/* 播放图层 */
|
|
5247
|
+
that.playPoint = function (params) {
|
|
5248
|
+
if (scene == null) return;
|
|
5249
|
+
if (gisMap != null) {
|
|
5250
|
+
gisMap.playPoint(params);
|
|
5251
|
+
}
|
|
5252
|
+
};
|
|
5253
|
+
|
|
5246
5254
|
that.initMap(containerID, callback, mapType, mapConfig);
|
|
5247
5255
|
|
|
5248
5256
|
// EGovaBI(globeMap).bind(this)();
|