react-native-mapbox-gl
react-native-mapbox-gl copied to clipboard
Add support for options.transformRequest
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.
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.
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.
Any updates on this? Really need transformRequest supporting...
@kristfal Is there any update to add transformRequest with Map object?
@kristfal Is there any update to add transformRequest with Map object?
Hi, any update ?
Hi! any update? I need this, since I have two different sources and one of them requires Authorization.