Skip to content
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

URL Request Transform #106

Closed
ac87 opened this issue Feb 14, 2021 · 2 comments
Closed

URL Request Transform #106

ac87 opened this issue Feb 14, 2021 · 2 comments

Comments

@ac87
Copy link

ac87 commented Feb 14, 2021

New Feature

Looking at the v10 API I cannot find a replacement for the FileSource Resource Transform Callback:
https://docs.mapbox.com/android/maps/api/9.5.0/com/mapbox/mapboxsdk/storage/FileSource.ResourceTransformCallback.html
The Observable plugin might provide this feature but I cannot see a way or example to modify the request.

Why

Other Tile providers such as HERE require custom headers on requests https://developer.here.com/documentation/vector-tiles-api/dev_guide/topics/examples/mapbox.html

It was added to GL JS on numerous requests.
mapbox/mapbox-gl-js#5021

@tobrun tobrun added the p3 label Feb 16, 2021
@jpietri
Copy link

jpietri commented May 26, 2021

Anything new on this request? I'm having the same issue.
See my post on StackOverflow.
Thanks :-)

@kiryldz
Copy link
Contributor

kiryldz commented Oct 25, 2024

Closing as I'd say solution from https://stackoverflow.com/a/76964550 should be fine. Re-open if this is still relevant.

@kiryldz kiryldz closed this as completed Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants