Questions related to layer ordering, where z-index[0] refers to the base map and z-index[1,-1] refers to all overlay layers.

learn more… | top users | synonyms

6
votes
1answer
8k 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 ...
7
votes
3answers
3k views

Z-index in OpenLayers 3: layer ordering in OL3

Is there a method to cjange Z-indexes of layers in OpenLayers3 like it was in old version? map.setLayerIndex(markers, 99); //set the marker layer to an arbitrarily high layer index and I need to ...
2
votes
2answers
641 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 ...