aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
Diffstat (limited to 'modern')
-rw-r--r--modern/src/map/MapDirection.js1
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',
},
});