egovamap 0.35.43 → 0.35.45

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.
@@ -1363,10 +1363,10 @@ var EGovaGISMap = function (
1363
1363
  /**
1364
1364
  *轨迹开始播放/暂停
1365
1365
  **/
1366
- that.playObjectTrace = function (speed, doNotChangeState) {
1366
+ that.playObjectTrace = function (speed, doNotChangeState, gradientTraceOptions) {
1367
1367
  scene.fire(
1368
1368
  msgPrefix + ":playObjectTrace",
1369
- { args: [speed, doNotChangeState] },
1369
+ { args: [speed, doNotChangeState, gradientTraceOptions] },
1370
1370
  parentScene
1371
1371
  );
1372
1372
  };
@@ -1374,8 +1374,8 @@ var EGovaGISMap = function (
1374
1374
  /**
1375
1375
  *轨迹停止
1376
1376
  **/
1377
- that.stopObjectTrace = function () {
1378
- scene.fire(msgPrefix + ":stopObjectTrace", { args: [] }, parentScene);
1377
+ that.stopObjectTrace = function (gradientTraceOptions) {
1378
+ scene.fire(msgPrefix + ":stopObjectTrace", { args: [gradientTraceOptions] }, parentScene);
1379
1379
  };
1380
1380
 
1381
1381
  /**
@@ -1632,12 +1632,12 @@ var EGovaGISMap = function (
1632
1632
  that.callMap("updatePositionByTime", time);
1633
1633
  };
1634
1634
 
1635
- that.playObjectTrace = function (speed, doNotChangeState) {
1636
- that.callMap("playObjectTrace", speed, doNotChangeState);
1635
+ that.playObjectTrace = function (speed, doNotChangeState, gradientTraceOptions) {
1636
+ that.callMap("playObjectTrace", speed, doNotChangeState, gradientTraceOptions || {});
1637
1637
  };
1638
1638
 
1639
- that.stopObjectTrace = function () {
1640
- that.callMap("stopObjectTrace");
1639
+ that.stopObjectTrace = function (gradientTraceOptions) {
1640
+ that.callMap("stopObjectTrace", gradientTraceOptions || {});
1641
1641
  };
1642
1642
 
1643
1643
  //by ysj,2020-06-02
@@ -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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egovamap",
3
- "version": "0.35.43",
3
+ "version": "0.35.45",
4
4
  "description": "eUrbanGIS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {