diff options
author | Iván Ávalos <avalos@disroot.org> | 2022-01-16 04:26:31 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2022-01-16 04:26:31 -0600 |
commit | 4f4b7f5755c164d4d9c3c4cc35118cf3429874c6 (patch) | |
tree | 2473ed9dec3bc1222cae7111c4d039818632b831 /androidApp/src/main/res/values | |
parent | 4a796e47bede0cbe5512868001c22b6889e9f72e (diff) | |
download | etbsa-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.xml | 18 |
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>© OpenStreetMap France | © <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors</item> </string-array> + <string-array name="maps_gmaps_tile" translatable="false"> + <item>https://mt0.google.com/vt/lyrs=m&hl=en&x={x}&y={y}&z={z}&s=Ga</item> + <item>0</item> + <item>21</item> + <item>© 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&hl=en&x={x}&y={y}&z={z}&s=Ga</item> <item>0</item> - <item>20</item> - <item>Tiles © Esri — Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community</item> + <item>21</item> + <item>© Google</item> </string-array> </resources>
\ No newline at end of file |