egovamap 0.12.7 → 0.13.0
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 +16 -0
- package/egovamap/egovamap.js +32 -0
- package/package.json +1 -1
package/egovamap/egovagis.js
CHANGED
|
@@ -1204,6 +1204,22 @@ var EGovaGISMap = function ($container, pScene, prefix, gisParams, mapConfig,con
|
|
|
1204
1204
|
var config=scene.layerUsageConfig;
|
|
1205
1205
|
scene.fire(msgPrefix + ":change3dlayerUsageConfig", {args: [config]}, parentScene);
|
|
1206
1206
|
}
|
|
1207
|
+
/*显示多轨迹*/
|
|
1208
|
+
that.showTraceMultiHisLayer = function(objectIDs, symbolType, beginDate, endDate, clear, zoom, hStyle) {
|
|
1209
|
+
scene.fire((msgPrefix + ":showTraceMultiHisLayer"), {args: [objectIDs, symbolType, beginDate, endDate, clear, zoom, hStyle]}, parentScene);
|
|
1210
|
+
}
|
|
1211
|
+
/*清除多轨迹*/
|
|
1212
|
+
that.claerTraceMultiHisLayer = function() {
|
|
1213
|
+
scene.fire((msgPrefix + ":claerTraceMultiHisLayer"), {args: []}, parentScene);
|
|
1214
|
+
}
|
|
1215
|
+
/*多人员图标通过id高亮*/
|
|
1216
|
+
that.multiPointsSelectbyID = function(id) {
|
|
1217
|
+
scene.fire((msgPrefix + ":multiPointsSelectbyID"), {args: [id]}, parentScene);
|
|
1218
|
+
}
|
|
1219
|
+
/*多轨迹通过id高亮*/
|
|
1220
|
+
that.traceMultiSelectbyID = function(id) {
|
|
1221
|
+
scene.fire((msgPrefix + ":traceMultiSelectbyID"), {args: [id]}, parentScene);
|
|
1222
|
+
}
|
|
1207
1223
|
|
|
1208
1224
|
that.init();
|
|
1209
1225
|
}
|
package/egovamap/egovamap.js
CHANGED
|
@@ -3622,6 +3622,38 @@ var EGovaMap = function (containerID, callback, mapConfig, mapType, mapParam, co
|
|
|
3622
3622
|
gisMap.removeRecCurrentV2Layer();
|
|
3623
3623
|
}
|
|
3624
3624
|
}
|
|
3625
|
+
/*加载多轨迹*/
|
|
3626
|
+
that.showTraceMultiHisLayer = function(objectIDs, symbolType, beginDate, endDate, clear, zoom, hStyle){
|
|
3627
|
+
if (scene == null)
|
|
3628
|
+
return;
|
|
3629
|
+
if (gisMap != null) {
|
|
3630
|
+
gisMap.showTraceMultiHisLayer.apply(this, arguments);
|
|
3631
|
+
}
|
|
3632
|
+
}
|
|
3633
|
+
/*清除多轨迹*/
|
|
3634
|
+
that.claerTraceMultiHisLayer = function(){
|
|
3635
|
+
if (scene == null)
|
|
3636
|
+
return;
|
|
3637
|
+
if (gisMap != null) {
|
|
3638
|
+
gisMap.claerTraceMultiHisLayer.apply(this, arguments);
|
|
3639
|
+
}
|
|
3640
|
+
}
|
|
3641
|
+
/*多人员图标通过id高亮*/
|
|
3642
|
+
that.multiPointsSelectbyID = function(id){
|
|
3643
|
+
if (scene == null)
|
|
3644
|
+
return;
|
|
3645
|
+
if (gisMap != null) {
|
|
3646
|
+
gisMap.multiPointsSelectbyID.apply(this, arguments);
|
|
3647
|
+
}
|
|
3648
|
+
}
|
|
3649
|
+
/*多轨迹通过id高亮*/
|
|
3650
|
+
that.traceMultiSelectbyID = function(id){
|
|
3651
|
+
if (scene == null)
|
|
3652
|
+
return;
|
|
3653
|
+
if (gisMap != null) {
|
|
3654
|
+
gisMap.traceMultiSelectbyID.apply(this, arguments);
|
|
3655
|
+
}
|
|
3656
|
+
}
|
|
3625
3657
|
|
|
3626
3658
|
|
|
3627
3659
|
that.initMap(containerID, callback, mapType, mapConfig);
|