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
map.transformRequest missing documentation #6871
Comments
@stevage I found some weird problems with "headers". How did you come up with "Authorization" |
You can see from the Fetch spec that other headers are not safelisted for To enable serving these types of requests from the browser, your server endpoints would need to correctly respond to cors pref-flight ( |
Meanwhile more information regarding this option is available: Found it by accident, would be good to link it from https://docs.mapbox.com/mapbox-gl-js/api/map/#map. |
Docs now include an example and link to the request parameters. Closing here. |
https://www.mapbox.com/mapbox-gl-js/api/#map
Issues:
headers
should be an object. Maybe a link to a relevant spec or something would help here.The text was updated successfully, but these errors were encountered: