egovamap 0.16.1 → 0.16.2

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.
@@ -1819,6 +1819,10 @@ var EGovaGISMap = function ($container, pScene, prefix, gisParams, mapConfig, co
1819
1819
  that.clearLayerSelectStyle = function (id, options) {
1820
1820
  that.callMap('clearLayerSelectStyle', id, options);
1821
1821
  }
1822
+
1823
+ that.getLayersByLayerGroup = function (layerGroupName, callback) {
1824
+ that.callMap('getLayersByLayerGroup', layerGroupName, callback);
1825
+ }
1822
1826
 
1823
1827
  that.init();
1824
1828
  }
@@ -3764,6 +3764,15 @@ var EGovaMap = function (containerID, callback, mapConfig, mapType, mapParam, co
3764
3764
  gisMap.clearLayerSelectStyle.apply(this, arguments);
3765
3765
  }
3766
3766
  }
3767
+
3768
+ that.getLayersByLayerGroup = function (layerGroupName, callback) {
3769
+ if (scene == null)
3770
+ return;
3771
+ if (gisMap != null) {
3772
+ gisMap.getLayersByLayerGroup.apply(this, arguments);
3773
+ }
3774
+ }
3775
+
3767
3776
  //添加影像wms、wmts等
3768
3777
  that.addCIMMap = function(options) {
3769
3778
  if (scene == null)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egovamap",
3
- "version": "0.16.1",
3
+ "version": "0.16.2",
4
4
  "description": "eUrbanGIS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {