diff options
author | Anton Tananaev <anton@traccar.org> | 2023-03-10 15:40:36 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-03-10 15:40:36 -0800 |
commit | f47808abac9d20f8324147024bb25d1a5dca9a98 (patch) | |
tree | edae66e17ef0fc23fcc4e9cff9957a2335ca59d6 /modern/src/map/MapMarkers.js | |
parent | 89f03d191e262947b596b59a3341182513109119 (diff) | |
download | trackermap-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.js | 1 |
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, }, }); |