Reputation: 101
I'm creating a layer control with openlayers and following the example from http://ptsagkis.github.io/extjs_ol3_layercontrol/example1_withoptions.html. Is it possible to create a group within another group? Thanks
For example, we have the 'Tile Layers' group with two layers. I would like to create within this group, another group. Does anyone know if it's possible? Or, another component that makes it possible to assemble the layers control in tree form in openlayers v.5?
Upvotes: 0
Views: 2215
Reputation: 1421
You can try ol-ext LayerSwiter control.
See example online: https://viglino.github.io/ol-ext/examples/control/map.switcher.html
Upvotes: 0