All Questions
1 question
1
vote
1
answer
789
views
Mapbox GL JS Equivalent to Leaflet LayerGroup?
Does anybody know of an equivalent to the Leaflet L.layerGroup in Mapbox GL JS? I can do this in leaflet:
var layerGroup = L.layerGroup().addTo(map);
And then if I want to add, say, a marker to the ...