aboutsummaryrefslogtreecommitdiff
path: root/shared/src/commonMain/kotlin/mx/trackermap
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-16 14:09:38 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-16 14:09:38 -0600
commit41aad20b7ebe24f318476c7f3fdb6be744dd5b9d (patch)
tree0a85cfc217cf7d11c66001446d3897cd8cf5204b /shared/src/commonMain/kotlin/mx/trackermap
parentfc4bbb4e4c0e1435b6d4599c79816575dcc8d01d (diff)
downloadetbsa-trackermap-mobile-41aad20b7ebe24f318476c7f3fdb6be744dd5b9d.tar.gz
etbsa-trackermap-mobile-41aad20b7ebe24f318476c7f3fdb6be744dd5b9d.tar.bz2
etbsa-trackermap-mobile-41aad20b7ebe24f318476c7f3fdb6be744dd5b9d.zip
Fixed focusOn not respecting max zoom, and added zoom level 21 to MapCalculus
Diffstat (limited to 'shared/src/commonMain/kotlin/mx/trackermap')
-rw-r--r--shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/utils/MapCalculus.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/utils/MapCalculus.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/utils/MapCalculus.kt
index 118c117..b1a6444 100644
--- a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/utils/MapCalculus.kt
+++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/utils/MapCalculus.kt
@@ -31,6 +31,7 @@ class MapCalculus {
19 -> 1066.36479193
20 -> 533.182395965
21 -> 266.5911979825
+ 22 -> 133.29559899125
else -> null
}
}