egovamap 0.35.42 → 0.35.44

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定位空中全景 */
@@ -2489,11 +2489,6 @@ var EGovaGISMap = function (
2489
2489
  );
2490
2490
  };
2491
2491
 
2492
- /*计算多边形的面积*/
2493
- that.getPolygonArea = function (geometry) {
2494
- return that.callMap("getPolygonArea", geometry);
2495
- };
2496
-
2497
2492
  /*计算线、面长度,支持线、面格式*/
2498
2493
  that.getGeometryLength = function (geometry) {
2499
2494
  return that.callMap("getGeometryLength", geometry);
@@ -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.44",
4
4
  "description": "eUrbanGIS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {