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

Option to add UI control to change languages #6

Open
planemad opened this issue May 22, 2017 · 1 comment
Open

Option to add UI control to change languages #6

planemad opened this issue May 22, 2017 · 1 comment

Comments

@planemad
Copy link

A UI control to switch the language on the frontend would be very useful for a user to override the default map setting and for use in debugging translations.

Example: https://www.mapbox.com/mapbox-gl-js/example/language-switch/

@lukasmartinelli
Copy link
Contributor

Yes I agree. one would specify that in the options of the plugin

map.addControl(new MapboxBrowserLanguage({
  showLanguageSwitch: true
}));

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

No branches or pull requests

3 participants