In Navigation SDK Mapbox v2, I'm having trouble finding the documentation to help me change the puck's position on the screen.
Currently, I use this package for Flutter: /packages/flutter_mapbox_navigation
I am providing a poor user experience when the navigation makes turns, because the puck doesn't stay pointing to the top and not centered at the bottom of the screen.
enter image description here
How to fixed the mapbox navigation puck's position and direction
I have the same problem as the topic above. The creator of the topic solved the issue with maximizeViewableGeometryWhenPitchZero
and viewportDataSource.options.followingFrameOptions.bearingSmoothing
.
However, when I tried this, I was unsuccessful, and I believe it's because I am using dropin.navigationView
, as you can see below:
/
I tried using ViewportDataSource
and NavigationCamera
in the TurnByTurn.kt
class, but without success; it had no effect.