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
commit3f6958e68f6e4dd5d42e1049c05059502d939cf9 (patch)
treed451027198866bacc7a9404d11380276cb65e7e9 /androidApp/src/main/res/values/map_layers.xml
parentf8e7e755dc8e557e1e5b9e9be318f8415a2c7f8e (diff)
downloadetbsa-trackermap-mobile-3f6958e68f6e4dd5d42e1049c05059502d939cf9.tar.gz
etbsa-trackermap-mobile-3f6958e68f6e4dd5d42e1049c05059502d939cf9.tar.bz2
etbsa-trackermap-mobile-3f6958e68f6e4dd5d42e1049c05059502d939cf9.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>