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
rdeckandshinyand 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_datais exposed.I guess this could allow to add custom headers like the
Authorizationone.Unfortunately, I cannot succeed to use the
get_tile_dataproperty.Even a fake implementation that would print a
console.logwhen the method is called bydeck.gldid not seem to be considered.I also try to override the
fetchmethod 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