aboutsummaryrefslogtreecommitdiff
path: root/shared/src
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-16 02:58:04 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-16 02:58:04 -0600
commit317d132e092ea9e1f8d5e1d30b9fad38e6c6200b (patch)
tree6481f867e561a32be4ad408c26932b255198bf8a /shared/src
parent5d018cdfc1af8d356716dd45d81eb64dbed6b3e4 (diff)
downloadetbsa-trackermap-mobile-317d132e092ea9e1f8d5e1d30b9fad38e6c6200b.tar.gz
etbsa-trackermap-mobile-317d132e092ea9e1f8d5e1d30b9fad38e6c6200b.tar.bz2
etbsa-trackermap-mobile-317d132e092ea9e1f8d5e1d30b9fad38e6c6200b.zip
Moved layer definitions to map_layers.xml and adjusted zoom limits, and adjusted zoomLevelToScale(zoom)
Diffstat (limited to 'shared/src')
-rw-r--r--shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/utils/MapCalculus.kt5
1 files changed, 3 insertions, 2 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 d4c5261..118c117 100644
--- a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/utils/MapCalculus.kt
+++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/utils/MapCalculus.kt
@@ -28,8 +28,9 @@ class MapCalculus {
16 -> 8530.9183354
17 -> 4265.4591677
18 -> 2132.72958385
- 19 -> 1000.0 // made up
- 20 -> 500.0 // made up
+ 19 -> 1066.36479193
+ 20 -> 533.182395965
+ 21 -> 266.5911979825
else -> null
}
}