Route
data class Route(val route: LiveData<RouteResult>, val headingDegrees: Double? = null, val insets: Double = 0.0, val tilt: Double? = null, val fallback: CameraTarget = Default) : CameraTarget
Sets one or more of the position, heading and elevation of the camera.
Since
0.0.130
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
Constructors
Link copied to clipboard
constructor(route: LiveData<RouteResult>, headingDegrees: Double? = null, insets: Double = 0.0, tilt: Double? = null, fallback: CameraTarget = Default)