aboutsummaryrefslogtreecommitdiff
path: root/androidApp
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-15 20:14:59 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-15 20:14:59 -0600
commit081d26c8c44cd81f53795ad34eeddca022850d16 (patch)
tree6899b6371dd076f4a82223feeee4954219293e11 /androidApp
parent6aa78c8ddbcdeaace0f4596e7c717dafef036f03 (diff)
downloadetbsa-trackermap-mobile-081d26c8c44cd81f53795ad34eeddca022850d16.tar.gz
etbsa-trackermap-mobile-081d26c8c44cd81f53795ad34eeddca022850d16.tar.bz2
etbsa-trackermap-mobile-081d26c8c44cd81f53795ad34eeddca022850d16.zip
Replaced satellite map layer with hybrid, and removed hybrid
Diffstat (limited to 'androidApp')
-rw-r--r--androidApp/src/main/java/mx/trackermap/TrackerMap/android/units/UnitsActivity.kt1
-rw-r--r--androidApp/src/main/res/menu/map_layers.xml4
-rw-r--r--androidApp/src/main/res/values-es-rMX/strings.xml5
-rw-r--r--androidApp/src/main/res/values/strings.xml3
4 files changed, 2 insertions, 11 deletions
diff --git a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/units/UnitsActivity.kt b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/units/UnitsActivity.kt
index acc2c7c..94e8a57 100644
--- a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/units/UnitsActivity.kt
+++ b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/units/UnitsActivity.kt
@@ -87,7 +87,6 @@ class UnitsActivity : AppCompatActivity() {
when (item.itemId) {
R.id.layerStreets -> getString(R.string.maps_streets_tile_url)
R.id.layerSatellite -> getString(R.string.maps_satellite_url)
- R.id.layerHybrid -> getString(R.string.maps_hybrid_url)
else -> getString(R.string.maps_streets_tile_url)
}
)
diff --git a/androidApp/src/main/res/menu/map_layers.xml b/androidApp/src/main/res/menu/map_layers.xml
index 6830ff7..334b9f9 100644
--- a/androidApp/src/main/res/menu/map_layers.xml
+++ b/androidApp/src/main/res/menu/map_layers.xml
@@ -10,8 +10,4 @@
android:id="@+id/layerSatellite"
android:title="@string/layer_satellite"/>
- <item
- android:id="@+id/layerHybrid"
- android:title="@string/layer_hybrid"/>
-
</menu> \ No newline at end of file
diff --git a/androidApp/src/main/res/values-es-rMX/strings.xml b/androidApp/src/main/res/values-es-rMX/strings.xml
index bd3a281..809b64c 100644
--- a/androidApp/src/main/res/values-es-rMX/strings.xml
+++ b/androidApp/src/main/res/values-es-rMX/strings.xml
@@ -19,9 +19,8 @@
<string name="switch_layer">Cambiar capa del mapa</string>
<string name="open_profile">Ver información de cuenta</string>
- <string name="layer_streets">Streets</string>
- <string name="layer_satellite">Satellite</string>
- <string name="layer_hybrid">Hybrid</string>
+ <string name="layer_streets">Calles</string>
+ <string name="layer_satellite">Satélite</string>
<string name="menu_account">Cuenta</string>
<string name="menu_about">Acerca de</string>
diff --git a/androidApp/src/main/res/values/strings.xml b/androidApp/src/main/res/values/strings.xml
index 07419f3..20f5b21 100644
--- a/androidApp/src/main/res/values/strings.xml
+++ b/androidApp/src/main/res/values/strings.xml
@@ -14,9 +14,6 @@
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_satellite_url" translatable="false">
- https://mt0.google.com/vt/lyrs=s&amp;hl=en&amp;x={x}&amp;y={y}&amp;z={z}&amp;s=Ga
- </string>
- <string name="maps_hybrid_url" translatable="false">
https://mt0.google.com/vt/lyrs=y&amp;hl=en&amp;x={x}&amp;y={y}&amp;z={z}&amp;s=Ga
</string>