aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'androidApp/src/main')
-rw-r--r--androidApp/src/main/java/mx/trackermap/TrackerMap/android/map/MapFragment.kt2
-rw-r--r--androidApp/src/main/res/values/strings.xml3
2 files changed, 4 insertions, 1 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 6873431..7306cbf 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
@@ -48,7 +48,7 @@ class MapFragment : GlobeMapFragment() {
cacheDir.mkdir()
val tileInfo = RemoteTileInfoNew(
- "https://mt0.google.com/vt/lyrs=m&hl=en&x={x}&y={y}&z={z}&s=Ga",
+ getString(R.string.maps_tile_url),
0,
21
)
diff --git a/androidApp/src/main/res/values/strings.xml b/androidApp/src/main/res/values/strings.xml
index b50d096..93f088a 100644
--- a/androidApp/src/main/res/values/strings.xml
+++ b/androidApp/src/main/res/values/strings.xml
@@ -3,6 +3,9 @@
<string name="app_name">TrackerMap</string>
<!-- Non translatables -->
+ <string name="maps_tile_url" translatable="false">
+ https://mt0.google.com/vt/lyrs=m&amp;hl=en&amp;x={x}&amp;y={y}&amp;z={z}&amp;s=Ga
+ </string>
<string name="maps_url_template" translatable="false">
https://www.google.com/maps/place/%1$f,%2$f?z=19
</string>