aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/res/values/map_layers.xml
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-16 04:02:30 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-16 04:02:30 -0600
commit594a0e7dc5680b495770876afba931b30d667264 (patch)
treed451027198866bacc7a9404d11380276cb65e7e9 /androidApp/src/main/res/values/map_layers.xml
parent317d132e092ea9e1f8d5e1d30b9fad38e6c6200b (diff)
downloadetbsa-trackermap-mobile-594a0e7dc5680b495770876afba931b30d667264.tar.gz
etbsa-trackermap-mobile-594a0e7dc5680b495770876afba931b30d667264.tar.bz2
etbsa-trackermap-mobile-594a0e7dc5680b495770876afba931b30d667264.zip
Added attribution and refactored map layers code
Diffstat (limited to 'androidApp/src/main/res/values/map_layers.xml')
-rw-r--r--androidApp/src/main/res/values/map_layers.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/androidApp/src/main/res/values/map_layers.xml b/androidApp/src/main/res/values/map_layers.xml
index c0e83a5..bffceb9 100644
--- a/androidApp/src/main/res/values/map_layers.xml
+++ b/androidApp/src/main/res/values/map_layers.xml
@@ -1,19 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
+ <string name="layer_streets">Streets</string>
+ <string name="layer_satellite">Satellite</string>
+
<!-- Tile URLs -->
<!-- [0] = tile server URL -->
<!-- [1] = min zoom -->
<!-- [2] = max zoom -->
<!-- [3] = attribution text -->
- <string-array name="maps_streets_tile_url" translatable="false">
+ <string-array name="maps_streets_tile" translatable="false">
<item>https://a.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png</item>
<item>0</item>
<item>21</item>
<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_satellite_tile_url" translatable="false">
+ <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>0</item>
<item>20</item>