egovamap 0.24.1 → 0.24.3
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/egovaBI.js +6 -0
- package/egovamap/egovagisviewer.js +12 -2
- package/egovamap/egovamap.js +9 -1
- package/package.json +1 -1
package/egovamap/egovaBI.js
CHANGED
|
@@ -969,6 +969,12 @@ var egovaBI = function(globeMap, gisMap, mapType){
|
|
|
969
969
|
}
|
|
970
970
|
}
|
|
971
971
|
|
|
972
|
+
this.deActiveLayer = function (layerName, filter) {
|
|
973
|
+
if (gisMap != null && mapType == "map") {
|
|
974
|
+
gisMap.deActiveLayer(layerName, filter);
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
|
|
972
978
|
function gridPolygon2dOperation(options, data, callback,dataLoadCb) {
|
|
973
979
|
var storeName = `usage2D_${options.idbSetting.usageID}`;
|
|
974
980
|
function showGrid(realData) {
|
|
@@ -882,10 +882,16 @@ var EGovaGISMap = function ($container, pScene, prefix, gisParams, mapConfig, co
|
|
|
882
882
|
}
|
|
883
883
|
|
|
884
884
|
/* 高亮显示自定义图标 */
|
|
885
|
-
that.highLightMultiObjectCurrentPosition = function (objectID, zoom, cluster, showPopu, layerID) {
|
|
885
|
+
that.highLightMultiObjectCurrentPosition = function (objectID, zoom, cluster, showPopu, layerID, options) {
|
|
886
886
|
if (scene == null)
|
|
887
887
|
return;
|
|
888
|
-
that.callMap('highLightMultiObjectCurrentPosition', objectID, zoom, cluster, showPopu, layerID);
|
|
888
|
+
that.callMap('highLightMultiObjectCurrentPosition', objectID, zoom, cluster, showPopu, layerID, options);
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
that.deHighLightMultiObjectCurrentPosition = function(objectIDs, layerID) {
|
|
892
|
+
if (scene == null)
|
|
893
|
+
return;
|
|
894
|
+
that.callMap('deHighLightMultiObjectCurrentPosition', objectIDs, layerID);
|
|
889
895
|
}
|
|
890
896
|
|
|
891
897
|
/* 显示多个自定义图标,采用canvas绘制,级别较小时采用闪点,级别较大时显示图标 */
|
|
@@ -1876,6 +1882,10 @@ var EGovaGISMap = function ($container, pScene, prefix, gisParams, mapConfig, co
|
|
|
1876
1882
|
that.callMap('activeLayer', layerName, options, filter);
|
|
1877
1883
|
}
|
|
1878
1884
|
|
|
1885
|
+
that.deActiveLayer = function(layerName, filter){
|
|
1886
|
+
that.callMap('deActiveLayer', layerName, filter);
|
|
1887
|
+
}
|
|
1888
|
+
|
|
1879
1889
|
that.getIntersectFeatures = function(features, options, callback){
|
|
1880
1890
|
that.callMap('getIntersectFeatures', features, options, callback);
|
|
1881
1891
|
}
|
package/egovamap/egovamap.js
CHANGED
|
@@ -1734,7 +1734,7 @@ var EGovaMap = function (containerID, callback, mapConfig, mapType, mapParam, co
|
|
|
1734
1734
|
}
|
|
1735
1735
|
};
|
|
1736
1736
|
|
|
1737
|
-
that.highLightMultiObjectCurrentPosition = function (objectID,zoom,cluster,showPopup,layerID){
|
|
1737
|
+
that.highLightMultiObjectCurrentPosition = function (objectID,zoom,cluster,showPopup,layerID, options){
|
|
1738
1738
|
if (scene == null)
|
|
1739
1739
|
return;
|
|
1740
1740
|
if (gisMap != null) {
|
|
@@ -1742,6 +1742,14 @@ var EGovaMap = function (containerID, callback, mapConfig, mapType, mapParam, co
|
|
|
1742
1742
|
}
|
|
1743
1743
|
};
|
|
1744
1744
|
|
|
1745
|
+
that.deHighLightMultiObjectCurrentPosition = function (objectIDs, layerID){
|
|
1746
|
+
if (scene == null)
|
|
1747
|
+
return;
|
|
1748
|
+
if (gisMap != null) {
|
|
1749
|
+
gisMap.deHighLightMultiObjectCurrentPosition.apply(this, arguments);
|
|
1750
|
+
}
|
|
1751
|
+
};
|
|
1752
|
+
|
|
1745
1753
|
/* 显示多个自定义图标 */
|
|
1746
1754
|
that.showMultiObjectCurrentPosition = function (jsonInfo, zoom, bClear, hStyleID, infoStyle, bCanvas, tagName, clickCallback, mouseOverCallBack, clusterOption, hasHover, layerID, mouseOutCallback, options) {
|
|
1747
1755
|
if (scene == null)
|