egovamap 0.31.13 → 0.32.1

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.
@@ -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;
@@ -2751,6 +2751,10 @@ var EGovaGISMap = function (
2751
2751
  that.playPoint = function (params) {
2752
2752
  that.callMap("playPoint", params);
2753
2753
  };
2754
+
2755
+ that.getPartCount = function (params, callback) {
2756
+ that.callMap("getPartCount", params, callback);
2757
+ };
2754
2758
  that.init();
2755
2759
  };
2756
2760
 
@@ -5251,6 +5251,14 @@ var EGovaMap = function (
5251
5251
  }
5252
5252
  };
5253
5253
 
5254
+ /* 获取部件统计数据 */
5255
+ that.getPartCount = function (params, callback) {
5256
+ if (scene == null) return;
5257
+ if (gisMap != null) {
5258
+ gisMap.getPartCount(params, callback);
5259
+ }
5260
+ };
5261
+
5254
5262
  that.initMap(containerID, callback, mapType, mapConfig);
5255
5263
 
5256
5264
  // EGovaBI(globeMap).bind(this)();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egovamap",
3
- "version": "0.31.13",
3
+ "version": "0.32.1",
4
4
  "description": "eUrbanGIS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {