aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/java/mx/trackermap
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-12 20:29:50 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-12 20:29:50 -0600
commitda52a594e73b4fa118dbe7349565a8902755d506 (patch)
tree2b85d21aa3e8539bea60db193575c0835a6854f5 /androidApp/src/main/java/mx/trackermap
parent3a6ba961bc9d7339ecf89115944d6f5c299ed743 (diff)
downloadetbsa-trackermap-mobile-da52a594e73b4fa118dbe7349565a8902755d506.tar.gz
etbsa-trackermap-mobile-da52a594e73b4fa118dbe7349565a8902755d506.tar.bz2
etbsa-trackermap-mobile-da52a594e73b4fa118dbe7349565a8902755d506.zip
Reduced maxTiles to scale up the map
Diffstat (limited to 'androidApp/src/main/java/mx/trackermap')
-rw-r--r--androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt
index 019bb1e..5714aae 100644
--- a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt
+++ b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt
@@ -67,6 +67,7 @@ class MapFragment : GlobeMapFragment() {
params.minZoom = tileInfo.minZoom
params.maxZoom = tileInfo.maxZoom
params.singleLevel = true
+ params.maxTiles = 25
val loader = QuadImageLoader(params, tileInfo, baseControl)
loader.setImageFormat(RenderController.ImageFormat.MaplyImageUShort565)