Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
788 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 ...
SteepAtticStairs's user avatar
3 votes
1 answer
5k views

.on("load") event for layer groups in Leaflet

I have used Leaflet's ImageOverlay to load various image layers onto a Leaflet map div (L.map). The size of the layer files can vary greatly. So some layers load very quickly while others can take a ...
kykong's user avatar
  • 93
1 vote
0 answers
777 views

layer group in leaflet! [closed]

How to have different overlay layers in layer groups having different .geojson files? I want to show three different categories such as Toilets, dustbins and hospitals. There will be three different ....
Tejas Rane's user avatar
34 votes
0 answers
3k views

Leaflet v1 plugin: layer control for ungrouped, grouped, and nested-grouped layers

I need a Leaflet plugin which extends L.Control.Layers. I have the following requirements: works with Leaflet 1.x handles ungrouped layers alongside grouped ones handles nested layer groups does not ...
Tom Chadwin's user avatar
  • 5,968