-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support custom pane specification #6
Comments
Has any improvement on this been made yet? Tried to find a workaround on Stack Exchange but not found a solution. @sheppard did Leaflet.NonTiledLayer work for you? |
This is still pending, PRs are welcome. I don't think it will be a huge change. I haven't tried Leaflet.NonTiledLayer directly but it appears they accept a |
As discussed in #19, multiple sources can get out of order when panning and it's not clear that #28 is sufficient to address. Thus, panes are probably the easiest and most robust way to ensure that layer order remains the same when using multiple sources (c.f. Esri/esri-leaflet#1000). |
I ran into the same problem. I want to use a wms source (only one layer) as the basemap but it ends up on top of everything else. So I think this should be filed as a bug not an enhancement. |
For simple use case with a L.WMS.Overlay you may find this simple four-line patch relevant: https://github.com/GreenInfo-Network/leaflet.wms/blob/gh-pages/src/leaflet.wms.js#L405-L412 This is a patch into the L.WMS.Overlay This does not address the more complex use cases, but hopefully someone using Overlay will find it useful. |
Incorporate/enable/test the ability to specify a custom leaflet pane for a source (and it's underlying Overlay/Tile layer).
The text was updated successfully, but these errors were encountered: