egovamap 0.32.4 → 0.32.6
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/egovagisviewer.js +10 -1
- package/egovamap/egovamap.js +8 -0
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -2755,6 +2760,10 @@ var EGovaGISMap = function (
|
|
|
2755
2760
|
that.getPartCount = function (params, callback) {
|
|
2756
2761
|
that.callMap("getPartCount", params, callback);
|
|
2757
2762
|
};
|
|
2763
|
+
|
|
2764
|
+
that.getQueryPartByTree = function (options, callback) {
|
|
2765
|
+
that.callMap("getQueryPartByTree", options, callback);
|
|
2766
|
+
}
|
|
2758
2767
|
that.init();
|
|
2759
2768
|
};
|
|
2760
2769
|
|
package/egovamap/egovamap.js
CHANGED
|
@@ -5266,6 +5266,14 @@ var EGovaMap = function (
|
|
|
5266
5266
|
gisMap.switchGisMapType(type, callback);
|
|
5267
5267
|
}
|
|
5268
5268
|
};
|
|
5269
|
+
|
|
5270
|
+
that.getQueryPartByTree = function (options, callback) {
|
|
5271
|
+
if (scene == null) return;
|
|
5272
|
+
if (gisMap != null) {
|
|
5273
|
+
gisMap.getQueryPartByTree(options, callback);
|
|
5274
|
+
}
|
|
5275
|
+
}
|
|
5276
|
+
|
|
5269
5277
|
that.initMap(containerID, callback, mapType, mapConfig);
|
|
5270
5278
|
|
|
5271
5279
|
// EGovaBI(globeMap).bind(this)();
|