Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
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.
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
Required, but never shown
2 years, 9 months ago
2 years, 8 months ago