Layers can be grouped in different namespaces.
Each layer could be in no group at all, in one group or in multiple (eventually nested) groups.
A plugin to manage layer groups in Mapbox GL JS
Layers can be grouped in different namespaces.
Each layer could be in no group at all, in one group or in multiple (eventually nested) groups.
A plugin to manage layer groups in Mapbox GL JS
https://jrd.github.io/mapbox-gl-layer-groups/
ISC License