egovamap 0.24.2 → 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.
@@ -971,7 +971,7 @@ var egovaBI = function(globeMap, gisMap, mapType){
971
971
 
972
972
  this.deActiveLayer = function (layerName, filter) {
973
973
  if (gisMap != null && mapType == "map") {
974
- gisMap.activeLayer(layerName, filter);
974
+ gisMap.deActiveLayer(layerName, filter);
975
975
  }
976
976
  }
977
977
 
@@ -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
 
@@ -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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egovamap",
3
- "version": "0.24.2",
3
+ "version": "0.24.4",
4
4
  "description": "eUrbanGIS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {