egovamap 0.24.3 → 0.24.4
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.
|
@@ -1904,6 +1904,14 @@ var EGovaGISMap = function ($container, pScene, prefix, gisParams, mapConfig, co
|
|
|
1904
1904
|
that.agsToWKT = function (geometry, callback) {
|
|
1905
1905
|
that.callMap('agsToWKT', geometry, callback);
|
|
1906
1906
|
}
|
|
1907
|
+
|
|
1908
|
+
that.zoomIn = function () {
|
|
1909
|
+
that.callMap('zoomIn');
|
|
1910
|
+
}
|
|
1911
|
+
|
|
1912
|
+
that.zoomOut = function () {
|
|
1913
|
+
that.callMap('zoomOut');
|
|
1914
|
+
}
|
|
1907
1915
|
that.init();
|
|
1908
1916
|
}
|
|
1909
1917
|
|
package/egovamap/egovamap.js
CHANGED
|
@@ -3957,6 +3957,9 @@ var EGovaMap = function (containerID, callback, mapConfig, mapType, mapParam, co
|
|
|
3957
3957
|
return;
|
|
3958
3958
|
if (globeMap != null) {
|
|
3959
3959
|
globeMap.zoomIn();
|
|
3960
|
+
}
|
|
3961
|
+
if (gisMap != null) {
|
|
3962
|
+
gisMap.zoomIn && gisMap.zoomIn();
|
|
3960
3963
|
}
|
|
3961
3964
|
};
|
|
3962
3965
|
that.zoomOut = function() {
|
|
@@ -3964,6 +3967,9 @@ var EGovaMap = function (containerID, callback, mapConfig, mapType, mapParam, co
|
|
|
3964
3967
|
return;
|
|
3965
3968
|
if (globeMap != null) {
|
|
3966
3969
|
globeMap.zoomOut();
|
|
3970
|
+
}
|
|
3971
|
+
if (gisMap != null) {
|
|
3972
|
+
gisMap.zoomOut && gisMap.zoomOut();
|
|
3967
3973
|
}
|
|
3968
3974
|
};
|
|
3969
3975
|
|