1

Is it possible to swap the order of the basemaps and overlays section in L.Control.Layers?

I would rather the basemaps were below the overlays, since that reflects the zIndex of them in the map.

2

No. The order of that is hard-coded.

You can either use two instances of L.Control.Layers, or one of the many plugins for "better" layer switchers

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.