aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/res/values
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-16 04:26:31 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-16 04:26:31 -0600
commit4f4b7f5755c164d4d9c3c4cc35118cf3429874c6 (patch)
tree2473ed9dec3bc1222cae7111c4d039818632b831 /androidApp/src/main/res/values
parent4a796e47bede0cbe5512868001c22b6889e9f72e (diff)
downloadetbsa-trackermap-mobile-4f4b7f5755c164d4d9c3c4cc35118cf3429874c6.tar.gz
etbsa-trackermap-mobile-4f4b7f5755c164d4d9c3c4cc35118cf3429874c6.tar.bz2
etbsa-trackermap-mobile-4f4b7f5755c164d4d9c3c4cc35118cf3429874c6.zip
Added Google Maps and Google Satellites layers
Diffstat (limited to 'androidApp/src/main/res/values')
-rw-r--r--androidApp/src/main/res/values/map_layers.xml18
1 files changed, 13 insertions, 5 deletions
diff --git a/androidApp/src/main/res/values/map_layers.xml b/androidApp/src/main/res/values/map_layers.xml
index bffceb9..59c6af5 100644
--- a/androidApp/src/main/res/values/map_layers.xml
+++ b/androidApp/src/main/res/values/map_layers.xml
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
- <string name="layer_streets">Streets</string>
- <string name="layer_satellite">Satellite</string>
+ <string name="layer_streets">OpenStreetMap</string>
+ <string name="layer_gmaps">Google Streets</string>
+ <string name="layer_satellite">Google Satellite</string>
<!-- Tile URLs -->
<!-- [0] = tile server URL -->
@@ -16,11 +17,18 @@
<item>&#169; OpenStreetMap France | &#169; &lt;a href="https://www.openstreetmap.org/copyright"&gt;OpenStreetMap&lt;/a&gt; contributors</item>
</string-array>
+ <string-array name="maps_gmaps_tile" translatable="false">
+ <item>https://mt0.google.com/vt/lyrs=m&amp;hl=en&amp;x={x}&amp;y={y}&amp;z={z}&amp;s=Ga</item>
+ <item>0</item>
+ <item>21</item>
+ <item>&#169; Google</item>
+ </string-array>
+
<string-array name="maps_satellite_tile" translatable="false">
- <item>https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}</item>
+ <item>https://mt0.google.com/vt/lyrs=y&amp;hl=en&amp;x={x}&amp;y={y}&amp;z={z}&amp;s=Ga</item>
<item>0</item>
- <item>20</item>
- <item>Tiles &#169; Esri &#8212; Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community</item>
+ <item>21</item>
+ <item>&#169; Google</item>
</string-array>
</resources> \ No newline at end of file