I added some geojson layers on my map but they are ordred in the menu randomly.
for example I like Zones to be above Bus line how to control this. here my example
I added some geojson layers on my map but they are ordred in the menu randomly.
for example I like Zones to be above Bus line how to control this. here my example
I recently solved this by working with Panes in Leaflet.js
http://leafletjs.com/examples/map-panes/
I can use this with any type of layer that I add to a Leaflet.js map. Very handy!