How to center camera on user Location
Hello, How can I center the camera on the user's gps location? I've looked through the example app and the docs and I can't find a single thing about centering the camera on the user's location. I tried using the geolocator dart package but there's conflicts with the types in that package and the types that this mapbox package wants to use. Any help would be appreciated, thnak you!
There seems to be not option currently to center camera on User's Location. I have decided to use geolocator package to to get user current Position and fly to user current position for now
There is no mode to enable for this, but you can use this tricky method. It works fine in my gps navigation.
https://gist.github.com/hkben/844d46a829f667e91fa6e6078e8b019c
Recently we've implemented a feature that should make this possible, use FollowPuckViewportState to make the camera track the user location.