mapbox. navigation. ui. maps. camera
Link copied to clipboard
class NavigationCamera( mapboxMap: MapboxMap, cameraPlugin: CameraAnimationsPlugin, viewportDataSource: ViewportDataSource, stateTransition: NavigationCameraStateTransition = MapboxNavigationCameraStateTransition(mapboxMap, cameraPlugin))
Content copied to clipboard
NavigationCamera is a class that tries to simplify management of the Map's camera object in typical navigation scenarios. It's fed camera frames via the ViewportDataSource, generates transitions with NavigationCameraStateTransition and executes them.