aboutsummaryrefslogtreecommitdiff
path: root/modern/src/map
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-07-03 12:53:03 -0700
committerAnton Tananaev <anton@traccar.org>2022-07-03 12:53:03 -0700
commit63379920f4a447ff6bd2b30c76363f2692dc0dbe (patch)
tree496ab775139d8973154f352fca627e848894e7ae /modern/src/map
parentecc127dc62b9ae9a0fef7d614232c1a828575445 (diff)
downloadtrackermap-web-63379920f4a447ff6bd2b30c76363f2692dc0dbe.tar.gz
trackermap-web-63379920f4a447ff6bd2b30c76363f2692dc0dbe.tar.bz2
trackermap-web-63379920f4a447ff6bd2b30c76363f2692dc0dbe.zip
Add Ordnance Survey map (fix #947)
Diffstat (limited to 'modern/src/map')
-rw-r--r--modern/src/map/core/useMapStyles.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/modern/src/map/core/useMapStyles.js b/modern/src/map/core/useMapStyles.js
index 365b4a61..ad68c6ee 100644
--- a/modern/src/map/core/useMapStyles.js
+++ b/modern/src/map/core/useMapStyles.js
@@ -160,6 +160,12 @@ export default () => {
available: true,
},
{
+ id: 'ordnanceSurvey',
+ title: t('mapOrdnanceSurvey'),
+ style: 'https://api.os.uk/maps/vector/v1/vts/resources/styles?key=EAZ8p83u72FTGiLjLC2MsTAl1ko6XQHC',
+ available: true,
+ },
+ {
id: 'mapboxStreets',
title: t('mapMapboxStreets'),
style: styleCustom(