egovamap 0.33.0 → 0.33.2
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 +10 -0
- package/egovamap/egovagisviewer.js +10 -0
- package/egovamap/egovamap.js +10 -0
- package/package.json +1 -1
package/egovamap/egovagis.js
CHANGED
|
@@ -2499,6 +2499,16 @@ var EGovaGISMap = function (
|
|
|
2499
2499
|
);
|
|
2500
2500
|
};
|
|
2501
2501
|
|
|
2502
|
+
that.mouseMoveEvent = function (callback) {
|
|
2503
|
+
if (scene == null) return;
|
|
2504
|
+
scene.fire(
|
|
2505
|
+
msgPrefix + ":mouseMoveEvent",
|
|
2506
|
+
{ args: [callback] },
|
|
2507
|
+
parentScene,
|
|
2508
|
+
false
|
|
2509
|
+
);
|
|
2510
|
+
};
|
|
2511
|
+
|
|
2502
2512
|
that.init();
|
|
2503
2513
|
};
|
|
2504
2514
|
export default EGovaGISMap;
|
|
@@ -1501,6 +1501,16 @@ var EGovaGISMap = function (
|
|
|
1501
1501
|
callback)
|
|
1502
1502
|
}
|
|
1503
1503
|
|
|
1504
|
+
/*渐变轨迹,根据关键点下标显示对应弹窗*/
|
|
1505
|
+
that.showGradientLayerPopup = function (
|
|
1506
|
+
index
|
|
1507
|
+
){
|
|
1508
|
+
if (scene == null) return;
|
|
1509
|
+
that.callMap(
|
|
1510
|
+
"showGradientLayerPopup",
|
|
1511
|
+
index)
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1504
1514
|
/* 开始实时轨迹 */
|
|
1505
1515
|
that.startRealtimeTrace = function (
|
|
1506
1516
|
groupIDs,
|
package/egovamap/egovamap.js
CHANGED
|
@@ -2433,7 +2433,17 @@ var EGovaMap = function (
|
|
|
2433
2433
|
callback
|
|
2434
2434
|
);
|
|
2435
2435
|
}
|
|
2436
|
+
}
|
|
2436
2437
|
|
|
2438
|
+
that.showGradientLayerPopup = function (
|
|
2439
|
+
index
|
|
2440
|
+
){
|
|
2441
|
+
if (scene == null) return;
|
|
2442
|
+
if (gisMap != null) {
|
|
2443
|
+
gisMap.showGradientLayerPopup(
|
|
2444
|
+
index
|
|
2445
|
+
);
|
|
2446
|
+
}
|
|
2437
2447
|
}
|
|
2438
2448
|
|
|
2439
2449
|
that.updatePositionByTime = function (time) {
|