Browse Source

add method getLayerGroup

tags/2.7.0
Caven Chen 4 years ago
parent
commit
0ff5d2545b
1 changed files with 9 additions and 0 deletions
  1. 9
    0
      modules/viewer/Viewer.js

+ 9
- 0
modules/viewer/Viewer.js View File

@@ -414,6 +414,15 @@ class Viewer {
return this
}

/**
*
* @param id
* @returns {undefined}
*/
getLayerGroup(id) {
return this._layerGroupCache[id] || undefined
}

/**
* add a layer
* @param layer

Loading…
Cancel
Save