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.

1 Answer 1

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

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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