egovamap 0.35.42 → 0.35.43

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.
@@ -2402,8 +2402,8 @@ var EGovaGISMap = function (
2402
2402
  };
2403
2403
 
2404
2404
  /* 计算多边形面积 */
2405
- that.getPolygonArea = function (geometry) {
2406
- return that.callMap("getPolygonArea", geometry);
2405
+ that.getPolygonArea = function (geometry, callback) {
2406
+ return that.callMap("getPolygonArea", geometry, callback);
2407
2407
  };
2408
2408
 
2409
2409
  /* 根据PointID定位空中全景 */
@@ -3342,7 +3342,7 @@ var EGovaMap = function (
3342
3342
  return gisMap.getGeometryLength.apply(this, arguments);
3343
3343
  };
3344
3344
  /* 计算多边形面积 */
3345
- that.getPolygonArea = function (geometry) {
3345
+ that.getPolygonArea = function (geometry, callback) {
3346
3346
  if (scene == null) return;
3347
3347
  if (gisMap != null) return gisMap.getPolygonArea.apply(this, arguments);
3348
3348
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egovamap",
3
- "version": "0.35.42",
3
+ "version": "0.35.43",
4
4
  "description": "eUrbanGIS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {