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 ?
Most helpful comment
@kristfal
Is there any update to add transformRequest with Map object?