You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe worth implementing in the core. However this would be easy enough to do on the application side — subscribing to the move event and rotating the marker element with a CSS transform.
But if you don't have "icon-rotation-alignment": "map" then when rotate map's camera, the marker always face to camera like billboard, and rotate the marker then won't work correctly, no ?
Hello.
For drawing arrowhead markers, I believe that mapboxgl.Marker() should have {"rotation-alignment": "map"} option. See the following examples:
https://gist.github.com/kkdd/928c67088c2debae4204bef55c170106
The text was updated successfully, but these errors were encountered: