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

adding support for geocoder language parameter #201

Merged
merged 3 commits into from Dec 18, 2018

Conversation

kbauhausness
Copy link

This PR allows a language= parameter to be appended to the geocoding api request when the mapbox-gl-geocoder language option is set using options.geocoder.

cc @samfader @malwoodsantoro

kbauhaus and others added 3 commits December 7, 2018 16:37
- made options.geocoder dynamic, accepting only query parameters from the Geocoding API
- removed placeholder option in favor of placeholderOrigin and placeholderDestination
- added top level options flyTo, zoom, placeholderOrigin and placeholderDestination
@tristen tristen merged commit a2162e4 into master Dec 18, 2018
@tristen tristen deleted the language-param-geocoder branch December 18, 2018 18:44
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

Successfully merging this pull request may close these issues.

None yet

2 participants