Replies: 1 comment 1 reply
-
There's an example of a location puck here, but not using the MapLibre Native puck. The syntax in the example is slightly out of date for v0.10, but the concept is still valid. There's no example of a heading (to my knowledge) but I think you should be able to do it similarly to that example. Add heading as a property in the GeoJsonSource feature, and use that heading to rotate the symbol in a SymbolLayer. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a example on how to display the user's location with the Map Libre Puck w/ heading?
Beta Was this translation helpful? Give feedback.
All reactions