egovamap 0.32.5 → 0.32.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.
@@ -1400,7 +1400,7 @@ var egovaBI = function (globeMap, gisMap, mapType) {
1400
1400
  }
1401
1401
  globeMap.clearNetworkCloud(layerNames);
1402
1402
  };
1403
- this.lineOperation = function (options, data) {
1403
+ this.lineOperation = function (options, data, dataLoadCb) {
1404
1404
  if (!options || !options.layerName) {
1405
1405
  console.log("图层名必须传递");
1406
1406
  return;
@@ -1476,6 +1476,9 @@ var egovaBI = function (globeMap, gisMap, mapType) {
1476
1476
  options: { originalData: originalData },
1477
1477
  };
1478
1478
  queryFeature(queryParams).then(function (resultData) {
1479
+ if (dataLoadCb && typeof dataLoadCb === 'function') {
1480
+ dataLoadCb(resultData);
1481
+ }
1479
1482
  if (!resultData) {
1480
1483
  console.log("没有查询到数据,请检查查询参数");
1481
1484
  return;
@@ -2760,6 +2760,10 @@ var EGovaGISMap = function (
2760
2760
  that.getPartCount = function (params, callback) {
2761
2761
  that.callMap("getPartCount", params, callback);
2762
2762
  };
2763
+
2764
+ that.getQueryPartByTree = function (options, callback) {
2765
+ that.callMap("getQueryPartByTree", options, callback);
2766
+ }
2763
2767
  that.init();
2764
2768
  };
2765
2769
 
@@ -5266,6 +5266,14 @@ var EGovaMap = function (
5266
5266
  gisMap.switchGisMapType(type, callback);
5267
5267
  }
5268
5268
  };
5269
+
5270
+ that.getQueryPartByTree = function (options, callback) {
5271
+ if (scene == null) return;
5272
+ if (gisMap != null) {
5273
+ gisMap.getQueryPartByTree(options, callback);
5274
+ }
5275
+ }
5276
+
5269
5277
  that.initMap(containerID, callback, mapType, mapConfig);
5270
5278
 
5271
5279
  // EGovaBI(globeMap).bind(this)();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egovamap",
3
- "version": "0.32.5",
3
+ "version": "0.32.7",
4
4
  "description": "eUrbanGIS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {