-
Notifications
You must be signed in to change notification settings - Fork 358
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
Adding request headers for VectorTileLayer? #802
Comments
Alternatively, something specific for the |
It looks like Leaflet does in fact support passing headers, see Leaflet/Leaflet.VectorGrid#89. If so it should be possible to suport from ipyleaflet, rather easily, too, right? |
@davidbrochart @martinRenou Any idea? |
Indeed, it would be a matter of exposing the possibility to configure the |
There's a bit of discussion about incorporating this with leaflet here: Leaflet/Leaflet#2091 Also a leaflet plugin (near the bottom of that thread) that can add headers: https://github.com/jaq316/leaflet-header Hopefully this can make it easier to integrate into ipyleaflet |
VectorTileLayer
would benefit from aheaders
parameter to be passed to the HTTP requests made in order to pass some kind of tokens for example. I'm happy to work on this if somebody can help point me the right way. Maybe a plugin like https://github.com/ticinum-aerospace/leaflet-wms-header would be needed?The text was updated successfully, but these errors were encountered: