Add Authorization header to tile request #114
Unanswered
jdenisgiguere
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Greetings!
I start experimenting with
rdeck
andshiny
and I'm impressed by the geo-dashboard capabilities they offer.In my dashboard, I will want to add both public and protected vector tile services.
I think this use case may be one of the reason why the
get_tile_data
is exposed.I guess this could allow to add custom headers like the
Authorization
one.Unfortunately, I cannot succeed to use the
get_tile_data
property.Even a fake implementation that would print a
console.log
when the method is called bydeck.gl
did not seem to be considered.I also try to override the
fetch
method based on the...
capabilities, but I did not get more chances.You will find below a snippet based on my experimentation.
Thanks in advance for your feedback!
Beta Was this translation helpful? Give feedback.
All reactions