diff options
author | Anton Tananaev <anton@traccar.org> | 2022-06-18 18:57:23 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-06-18 18:57:23 -0700 |
commit | 588f32a9e427a9a115deafd7eea2e71b01f25c62 (patch) | |
tree | ff72a6cff81b1cf757ac0ad5a1645f8e6554ccba /modern | |
parent | 5154c9be13ad1446b09feaaa843e621555ac7581 (diff) | |
download | trackermap-web-588f32a9e427a9a115deafd7eea2e71b01f25c62.tar.gz trackermap-web-588f32a9e427a9a115deafd7eea2e71b01f25c62.tar.bz2 trackermap-web-588f32a9e427a9a115deafd7eea2e71b01f25c62.zip |
Handle map rotation (fix #962)
Diffstat (limited to 'modern')
-rw-r--r-- | modern/src/map/MapDirection.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modern/src/map/MapDirection.js b/modern/src/map/MapDirection.js index 251fa962..736d7166 100644 --- a/modern/src/map/MapDirection.js +++ b/modern/src/map/MapDirection.js @@ -20,6 +20,7 @@ const MapDirection = ({ position }) => { layout: { 'icon-image': 'direction', 'icon-rotate': ['get', 'rotation'], + 'icon-rotation-alignment': 'map', }, }); |