This repository has been archived by the owner on Apr 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 385
tilejson issues #196
Comments
Not sure how to fix the race condition. L.TileLayer constructed without a URL throws errors if added to a map, and Leaflet's support for manually ordering layers is limited to bringToFront/Back. |
We should improve this - the modestmaps layer api is much more complete |
Leaflet itself doesn't even correctly preserve order: Leaflet/Leaflet#1422. |
jfirebaugh
added a commit
that referenced
this issue
Feb 19, 2013
However, the opacity example still does not work correctly due to a Leaflet bug (Leaflet/Leaflet#1422).
Fixed upstream, opacity example now has correct z-order. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Right now the approach does well with being minimal - no special code required for it to work with native attribution and mapbox.legend. But this needs some work:
Most importantly, there's a real race condition with layer addition - layers will not stay in the order in which they are added
The text was updated successfully, but these errors were encountered: