egovamap 0.31.6 → 0.31.7

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.
@@ -2742,6 +2742,9 @@ var EGovaGISMap = function (
2742
2742
  that.callMap("coordConvert", type, x, y, callback);
2743
2743
  }
2744
2744
 
2745
+ that.searchRegionInfo = function (params, callback) {
2746
+ that.callMap("searchRegionInfo", params, callback);
2747
+ };
2745
2748
  that.init();
2746
2749
  };
2747
2750
 
@@ -5231,6 +5231,15 @@ var EGovaMap = function (
5231
5231
  gisMap.pointInPolygon(point, polygon);
5232
5232
  }
5233
5233
  }
5234
+
5235
+ /* 要素查询 */
5236
+ that.searchRegionInfo = function (params, callback) {
5237
+ // 移除监听
5238
+ if (scene == null) return;
5239
+ if (gisMap != null) {
5240
+ gisMap.searchRegionInfo(params, callback);
5241
+ }
5242
+ };
5234
5243
 
5235
5244
  that.initMap(containerID, callback, mapType, mapConfig);
5236
5245
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egovamap",
3
- "version": "0.31.6",
3
+ "version": "0.31.7",
4
4
  "description": "eUrbanGIS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {