aboutsummaryrefslogtreecommitdiff
path: root/modern/src/map
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-06-20 06:44:37 -0700
committerAnton Tananaev <anton@traccar.org>2022-06-20 06:44:37 -0700
commit8d56a292a5df90c00699f01e9188d7185a9b18af (patch)
treea4b4ce5b1a2d447d99aff9e7445389e4a12bbaff /modern/src/map
parent652910400f87fa3e143a75d6587cd8d0f50d5778 (diff)
downloadtrackermap-web-8d56a292a5df90c00699f01e9188d7185a9b18af.tar.gz
trackermap-web-8d56a292a5df90c00699f01e9188d7185a9b18af.tar.bz2
trackermap-web-8d56a292a5df90c00699f01e9188d7185a9b18af.zip
Fix custom map
Diffstat (limited to 'modern/src/map')
-rw-r--r--modern/src/map/core/useMapStyles.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/map/core/useMapStyles.js b/modern/src/map/core/useMapStyles.js
index bbdf0ea9..8f1423f1 100644
--- a/modern/src/map/core/useMapStyles.js
+++ b/modern/src/map/core/useMapStyles.js
@@ -153,7 +153,7 @@ export default () => {
{
id: 'custom',
title: t('mapCustom'),
- style: styleCustom(customMapUrl),
+ style: styleCustom([customMapUrl]),
available: !!customMapUrl,
},
];