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

feat(web): increase map max zoom #5693

Merged
merged 2 commits into from
Dec 14, 2023
Merged

Conversation

waclaw66
Copy link
Contributor

@waclaw66 waclaw66 commented Dec 14, 2023

This PR increases max zoom of the map, to be able see detail location and mainly set gps location to an asset precisely.

before (14) PR (18)
obrazek obrazek

@bo0tzz
Copy link
Member

bo0tzz commented Dec 14, 2023

Can you also take a look at the maxZoom in the app?

@waclaw66
Copy link
Contributor Author

Can you also take a look at the maxZoom in the app?

Done.

@danieldietzler
Copy link
Member

danieldietzler commented Dec 14, 2023

@bo0tzz didn't we say 14 should be the max because the map provider does not support a higher max zoom?

@waclaw66
Copy link
Contributor Author

waclaw66 commented Dec 14, 2023

@bo0tzz didn't we say 14 should be the max because the map provider does not support a higher max zoom?

Map provider obviously supports 18 as you can see from pictures. 14 is not enought to set a gps location.

@bo0tzz
Copy link
Member

bo0tzz commented Dec 14, 2023

The provider only supports 14 (although they're pushing out 15 soon). However since they're vector maps, you can still keep zooming beyond that, there just won't be any extra detail. That caused a bit of confusion in the past which is why the zoom level was limited to 14 before.

@jrasm91 jrasm91 merged commit 3a2e9b6 into immich-app:main Dec 14, 2023
17 checks passed
jonhnet pushed a commit to jonhnet/immich that referenced this pull request Dec 15, 2023
* increate max zoom

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

Successfully merging this pull request may close these issues.

4 participants