aboutsummaryrefslogtreecommitdiff
path: root/modern/src/map/Map.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-08-21 16:48:19 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-08-21 16:48:19 -0700
commitafed83a89ecea62f7f1fd3ae3c99cdf95e52dab6 (patch)
tree00fd458a1070191e8582115907b71b102b26310a /modern/src/map/Map.js
parent230b5b53460982ef888d309725f027ea29b29bb6 (diff)
downloadtrackermap-web-afed83a89ecea62f7f1fd3ae3c99cdf95e52dab6.tar.gz
trackermap-web-afed83a89ecea62f7f1fd3ae3c99cdf95e52dab6.tar.bz2
trackermap-web-afed83a89ecea62f7f1fd3ae3c99cdf95e52dab6.zip
Fix style
Diffstat (limited to 'modern/src/map/Map.js')
-rw-r--r--modern/src/map/Map.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/modern/src/map/Map.js b/modern/src/map/Map.js
index 3afa48df..6f4875ad 100644
--- a/modern/src/map/Map.js
+++ b/modern/src/map/Map.js
@@ -7,7 +7,9 @@ import React, {
import { SwitcherControl } from './switcher/switcher';
import deviceCategories from '../common/deviceCategories';
import { prepareIcon, loadImage } from './mapUtil';
-import { styleCarto, styleMapbox, styleMapTiler, styleOsm } from './mapStyles';
+import {
+ styleCarto, styleMapbox, styleMapTiler, styleOsm,
+} from './mapStyles';
import t from '../common/localization';
import { useAttributePreference } from '../common/preferences';
import palette from '../theme/palette';
@@ -73,7 +75,7 @@ const switcher = new SwitcherControl(
{ title: t('mapMapboxStreets'), uri: styleMapbox('streets-v11') },
{ title: t('mapMapboxOutdoors'), uri: styleMapbox('outdoors-v11') },
{ title: t('mapMapboxSatellite'), uri: styleMapbox('satellite-v9') },
- { title: t('mapMapTilerBasic'), uri: styleMapTiler('basic', '${mapTilerKey}') },
+ { title: t('mapMapTilerBasic'), uri: styleMapTiler('basic', '{mapTilerKey}') },
],
t('mapOsm'),
() => updateReadyValue(false),