egovamap 0.32.3 → 0.32.5
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.
package/egovamap/egovagis.js
CHANGED
|
@@ -1454,10 +1454,10 @@ var EGovaGISMap = function (
|
|
|
1454
1454
|
);
|
|
1455
1455
|
};
|
|
1456
1456
|
|
|
1457
|
-
that.stopRealtimeTrace = function () {
|
|
1457
|
+
that.stopRealtimeTrace = function (objectType, resourceType) {
|
|
1458
1458
|
if (scene == null) return;
|
|
1459
1459
|
|
|
1460
|
-
scene.fire(msgPrefix + ":stopRealtimeTrace", { args: [] }, parentScene);
|
|
1460
|
+
scene.fire(msgPrefix + ":stopRealtimeTrace", { args: [objectType, resourceType] }, parentScene);
|
|
1461
1461
|
};
|
|
1462
1462
|
/**
|
|
1463
1463
|
*停止绘制要素
|
|
@@ -1541,13 +1541,18 @@ var EGovaGISMap = function (
|
|
|
1541
1541
|
objectIDStrs,
|
|
1542
1542
|
objectType,
|
|
1543
1543
|
resourceType,
|
|
1544
|
-
|
|
1544
|
+
uiOption,
|
|
1545
1545
|
traceOption,
|
|
1546
1546
|
jobOption,
|
|
1547
1547
|
cb
|
|
1548
1548
|
);
|
|
1549
1549
|
};
|
|
1550
1550
|
|
|
1551
|
+
that.stopRealtimeTrace = function(objectType, resourceType) {
|
|
1552
|
+
if (scene == null) return;
|
|
1553
|
+
that.callMap("stopRealtimeTrace", objectType, resourceType);
|
|
1554
|
+
};
|
|
1555
|
+
|
|
1551
1556
|
/*跳转轨迹位置*/
|
|
1552
1557
|
that.updatePositionByTime = function (time) {
|
|
1553
1558
|
if (scene == null) return;
|