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

Add support for options.transformRequest #1155

Open
ludwigbacklund opened this issue Apr 3, 2018 · 7 comments
Open

Add support for options.transformRequest #1155

ludwigbacklund opened this issue Apr 3, 2018 · 7 comments

Comments

@ludwigbacklund
Copy link

Transforming the requests for map data is something I'd love to see in the react-native mapbox implementation as it would be very helpful when looking to add headers and such for authentication purposes.

@1ec5
Copy link
Contributor

1ec5 commented Jul 3, 2018

The iOS map SDK does support transforming request URLs, but not request headers. mapbox/mapbox-gl-native#12026 mapbox/mapbox-gl-native#11888 tracks a more general request transformation mechanism.

@kristfal
Copy link
Collaborator

We're looking at this issue too. We don't need headers as query params would suffice.

Native side code was added here: https://github.com/mapbox/mapbox-gl-native/pull/8084/files

Will look into getting a JS side implementation for this as well.

@liangkai210
Copy link

Any updates on this? Really need transformRequest supporting...

@rsimbu89
Copy link

rsimbu89 commented Apr 2, 2019

@kristfal
Is there any update to add transformRequest with Map object?

@ReyhaneMasumi
Copy link

@kristfal
Is there any update to add transformRequest with Map object?

@MickaelLEBRET
Copy link

Hi, any update ?

mfazekas pushed a commit to mfazekas/maps that referenced this issue Mar 12, 2022
Bumps [@turf/bearing](https://github.com/Turfjs/turf) from 5.1.5 to 6.0.1.
- [Release notes](https://github.com/Turfjs/turf/releases)
- [Changelog](https://github.com/Turfjs/turf/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Turfjs/turf/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@RGkevin
Copy link

RGkevin commented May 13, 2023

Hi! any update? I need this, since I have two different sources and one of them requires Authorization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants