Route

constructor(route: LiveData<RouteResult>, headingDegrees: Double? = null, insets: Double = 0.0, tilt: Double? = null, fallback: CameraTarget = Default)

Parameters

route

The route to centre in the camera, as created by Map.createRoute

headingDegrees

The heading of the camera

insets

The margin around the view which should be taken into account in addition to the span

tilt

The tilt of the camera

fallback

The CameraTarget to use while there's no route