aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-08-22 10:11:46 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-08-22 10:11:46 -0700
commite83a51c9f14b7ddb45e4de155741e37df3e25c25 (patch)
tree45aee5769134d829ce4690ce0e0bba7f8d20dd55
parent90b87123fe6597e080d2ab03463f50617cd2c5dd (diff)
downloadtrackermap-web-e83a51c9f14b7ddb45e4de155741e37df3e25c25.tar.gz
trackermap-web-e83a51c9f14b7ddb45e4de155741e37df3e25c25.tar.bz2
trackermap-web-e83a51c9f14b7ddb45e4de155741e37df3e25c25.zip
Add MapTiler hybrid map
-rw-r--r--modern/src/map/Map.js1
-rw-r--r--web/l10n/en.json1
2 files changed, 2 insertions, 0 deletions
diff --git a/modern/src/map/Map.js b/modern/src/map/Map.js
index 6f4875ad..47ebb1f0 100644
--- a/modern/src/map/Map.js
+++ b/modern/src/map/Map.js
@@ -76,6 +76,7 @@ const switcher = new SwitcherControl(
{ title: t('mapMapboxOutdoors'), uri: styleMapbox('outdoors-v11') },
{ title: t('mapMapboxSatellite'), uri: styleMapbox('satellite-v9') },
{ title: t('mapMapTilerBasic'), uri: styleMapTiler('basic', '{mapTilerKey}') },
+ { title: t('mapMapTilerHybrid'), uri: styleMapTiler('hybrid', '{mapTilerKey}') },
],
t('mapOsm'),
() => updateReadyValue(false),
diff --git a/web/l10n/en.json b/web/l10n/en.json
index af20b1a4..97243a69 100644
--- a/web/l10n/en.json
+++ b/web/l10n/en.json
@@ -262,6 +262,7 @@
"mapMapboxOutdoors": "Mapbox Outdoors",
"mapMapboxSatellite": "Mapbox Satellite",
"mapMapTilerBasic": "MapTiler Basic",
+ "mapMapTilerHybrid": "MapTiler Hybrid",
"mapShapePolygon": "Polygon",
"mapShapeCircle": "Circle",
"mapShapePolyline": "Polyline",