egovamap 0.35.62 → 0.35.64
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
|
@@ -161,13 +161,17 @@ var egovaBI = function (globeMap, gisMap, mapType) {
|
|
|
161
161
|
if (options.textStyle.enableClassify) {
|
|
162
162
|
const customScheme = options.textStyle.customScheme;
|
|
163
163
|
const classField = options.textStyle.classField;
|
|
164
|
+
let fieldValue = p[classField];
|
|
165
|
+
if ((p.attributes || p.properties) && !fieldValue) {
|
|
166
|
+
fieldValue = p.attributes?p.attributes[classField]:p.properties[classField];
|
|
167
|
+
}
|
|
164
168
|
if (
|
|
165
|
-
|
|
169
|
+
fieldValue &&
|
|
166
170
|
Object.prototype.toString.call(customScheme) == "[object Array]" &&
|
|
167
171
|
customScheme.length
|
|
168
172
|
) {
|
|
169
173
|
customScheme.forEach((scheme) => {
|
|
170
|
-
if (scheme.type ==
|
|
174
|
+
if (scheme.type == fieldValue ) {
|
|
171
175
|
scheme.imageUrl && (p.symbolUrl = scheme.imageUrl);
|
|
172
176
|
}
|
|
173
177
|
});
|
package/egovamap/egovamapMEx.js
CHANGED
|
@@ -118,7 +118,9 @@ var egovamapMEx = function (gisMobileMap) {
|
|
|
118
118
|
"xkSetTraceStatus",
|
|
119
119
|
"UpdateMapSize",
|
|
120
120
|
"setTraceHisGradientTotalTime",
|
|
121
|
-
"setTraceHisGradientRun"
|
|
121
|
+
"setTraceHisGradientRun",
|
|
122
|
+
"showMultiObjectCurrentPositionClusterByLevel",
|
|
123
|
+
"highLightMultiObjectCurrentPositionClusterByLevel"
|
|
122
124
|
];
|
|
123
125
|
methodEx = methodEx.concat(methodBusEx);
|
|
124
126
|
for (let index = 0; index < methodEx.length; index++) {
|
package/egovamap/egovamobile.js
CHANGED
|
@@ -422,7 +422,9 @@ var EGovaMobileMap = function (
|
|
|
422
422
|
"xkSetTraceStatus",
|
|
423
423
|
"UpdateMapSize",
|
|
424
424
|
"setTraceHisGradientTotalTime",
|
|
425
|
-
"setTraceHisGradientRun"
|
|
425
|
+
"setTraceHisGradientRun",
|
|
426
|
+
"showMultiObjectCurrentPositionClusterByLevel",
|
|
427
|
+
"highLightMultiObjectCurrentPositionClusterByLevel"
|
|
426
428
|
];
|
|
427
429
|
methodEx = methodEx.concat(methodBusEx);
|
|
428
430
|
for (let index = 0; index < methodEx.length; index++) {
|