aboutsummaryrefslogtreecommitdiff
path: root/modern/src/map/MapMarkers.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-03-10 15:40:36 -0800
committerAnton Tananaev <anton@traccar.org>2023-03-10 15:40:36 -0800
commitf47808abac9d20f8324147024bb25d1a5dca9a98 (patch)
treeedae66e17ef0fc23fcc4e9cff9957a2335ca59d6 /modern/src/map/MapMarkers.js
parent89f03d191e262947b596b59a3341182513109119 (diff)
downloadtrackermap-web-f47808abac9d20f8324147024bb25d1a5dca9a98.tar.gz
trackermap-web-f47808abac9d20f8324147024bb25d1a5dca9a98.tar.bz2
trackermap-web-f47808abac9d20f8324147024bb25d1a5dca9a98.zip
Fix icon scale
Diffstat (limited to 'modern/src/map/MapMarkers.js')
-rw-r--r--modern/src/map/MapMarkers.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/modern/src/map/MapMarkers.js b/modern/src/map/MapMarkers.js
index dd100f16..8bcfd8d6 100644
--- a/modern/src/map/MapMarkers.js
+++ b/modern/src/map/MapMarkers.js
@@ -50,6 +50,7 @@ const MapMarkers = ({ markers, showTitles }) => {
source: id,
layout: {
'icon-image': '{image}',
+ 'icon-size': iconScale,
'icon-allow-overlap': true,
},
});