map - javascript - put layer in foreground leaflet -


I have arrays of different layers, but I want to put one of these in the foreground when I get it latitude and I change the longitude. How can I do this in javascript?

Thank you!

Browse the trusted sheet documents, and look at the function on all tile layers. Layer 1 STZ Index (1); Layer2.setZIndex (2);

Comments