Questions tagged [z-index]
Questions related to layer ordering, where z-index[0] refers to the base map and z-index[1,-1] refers to all overlay layers.
2 questions
20
votes
1
answer
75k
views
How to change Leaflet Map panes layering order (z-index)?
Leaflet maintains that the Map panes elements contain all layers added to the map. The difference between many of the Map panes is strictly the z-index order of layering.
I would like to use a ...
2
votes
2
answers
2k
views
How does Leaflet layer ordering work with CartoDB layers?
All,
I'm trying to figure out how Leaflet layer ordering works when you have layers coming from CartoDB. I have a map with 1 polygon layer (cartodb), 3 point layers (cartodb), 1 basemap layer (mapbox)...