aboutsummaryrefslogtreecommitdiff
path: root/modern/src/map/mapStyles.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-11-25 17:04:26 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2021-11-25 17:04:26 -0800
commita8d499612b3e37f0ba3864eb97ea396221be8cb7 (patch)
tree45361b2b8d87d8350a375d3020950452096b07d2 /modern/src/map/mapStyles.js
parentea72b9f96d6e03a4f9bbbeadcc8f41efbff4427f (diff)
downloadetbsa-traccar-web-a8d499612b3e37f0ba3864eb97ea396221be8cb7.tar.gz
etbsa-traccar-web-a8d499612b3e37f0ba3864eb97ea396221be8cb7.tar.bz2
etbsa-traccar-web-a8d499612b3e37f0ba3864eb97ea396221be8cb7.zip
Enable LocationIQ by default
Diffstat (limited to 'modern/src/map/mapStyles.js')
-rw-r--r--modern/src/map/mapStyles.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/modern/src/map/mapStyles.js b/modern/src/map/mapStyles.js
index 9650ead..86813a1 100644
--- a/modern/src/map/mapStyles.js
+++ b/modern/src/map/mapStyles.js
@@ -51,3 +51,5 @@ export const styleCarto = () => ({
export const styleMapbox = (style) => `mapbox://styles/mapbox/${style}`;
export const styleMapTiler = (style, key) => `https://api.maptiler.com/maps/${style}/style.json?key=${key}`;
+
+export const styleLocationIq = (style, key) => `https://tiles.locationiq.com/v3/${style}/vector.json?key=${key}`;