Skip to content

Reduce min zoom level to 1.0 to allow viewing most of world#2176

Open
otwacam wants to merge 1 commit intoowntracks:masterfrom
otwacam:min-zoom-level-1
Open

Reduce min zoom level to 1.0 to allow viewing most of world#2176
otwacam wants to merge 1 commit intoowntracks:masterfrom
otwacam:min-zoom-level-1

Conversation

@otwacam
Copy link
Contributor

@otwacam otwacam commented Jan 16, 2026

Currently the map view limits the viewable area meaning it is not possible to all contacts within the world which is unnecessarily restrictive and prevents viewing contacts across a larger area. Additionally the ios version screenshots on the store show a larger view of the map than is possible in the android version.
This change reduces the minimum zoom level to 1.0 to allow viewing of most of the world.

The new zoom levels do go outside the boundaries leading to the map to be repeated but this behaviour can be seen in a number of of other apps and is to be expected for excessive zooming out. Additionally the markers will only be shown on the main section of the map that is visible and will not be duplicated.

Note: I was unable to test the google map layer and have only tested the openstreetmap version as shown below.

Images for comparison:
ios(store screenshot) vs android with minimum zoom level(current)
iosowntracks zoom_original
Android with new minimum zoom levels
zoom_new_v zoom_new_h

@otwacam
Copy link
Contributor Author

otwacam commented Jan 17, 2026

Test failures are unrelated to changes and look to be something that can randomly occur.
Run for a different change with same failures: https://github.com/owntracks/android/actions/runs/21070480607/job/60599799356

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.

1 participant