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

797 Set the map language to UI language in new branch #6

Merged
merged 6 commits into from
May 13, 2024

Conversation

kkovaletp
Copy link
Owner

This is a solution of photoview#789. The language of the map in Place will be set to the same as the UI. If the UI language is NOT supported by Mapbox, then the English map will be provided.
This is a new pull request of setting the map language to UI language, and I commit it to a new branch other than master. The old one will be closed soon.
As per the comment in the old pull request photoview#790, I deleted the settings of zoom and center and deleted the setting of projection, which means the map language cannot be changed.
I have looked at the commit setting the projection, it said "chore: add mapbox globe view", so I guess the committer just wants to show the mapbox with the whole world map initially. But I think maybe he or she doesn't know what the projection really means, in fact, global projection just makes a spherical map. So, I add zoom: 1 to show the mapbox with the whole world map initially.

@kkovaletp kkovaletp merged commit c657f2b into master May 13, 2024
7 checks passed
@kkovaletp kkovaletp deleted the 797-multilanguage-map branch May 13, 2024 17:30
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