egovamap 0.35.61 → 0.35.63

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.
@@ -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
- p[classField] &&
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 == p[classField]) {
174
+ if (scheme.type == fieldValue ) {
171
175
  scheme.imageUrl && (p.symbolUrl = scheme.imageUrl);
172
176
  }
173
177
  });
@@ -2919,6 +2919,35 @@ var EGovaGISMap = function (
2919
2919
  return that.callMap("addOverviewMapV22", options);
2920
2920
  }
2921
2921
 
2922
+ that.isobands = function (
2923
+ attrarry,
2924
+ xarry,
2925
+ yarry,
2926
+ breaks,
2927
+ breakcolors,
2928
+ cellwidth,
2929
+ boundary,
2930
+ hascelllabel,
2931
+ labelcolor,
2932
+ callback,
2933
+ options
2934
+ ) {
2935
+ that.callMap(
2936
+ "isobands",
2937
+ attrarry,
2938
+ xarry,
2939
+ yarry,
2940
+ breaks,
2941
+ breakcolors,
2942
+ cellwidth,
2943
+ boundary,
2944
+ hascelllabel,
2945
+ labelcolor,
2946
+ callback,
2947
+ options
2948
+ );
2949
+ };
2950
+
2922
2951
  that.init();
2923
2952
  };
2924
2953
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egovamap",
3
- "version": "0.35.61",
3
+ "version": "0.35.63",
4
4
  "description": "eUrbanGIS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {