egovamap 0.31.13 → 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 +9 -0
- package/package.json +1 -1
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;
|