Journey

data class Journey(val journey: Journey, 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.86

Parameters

journey

The journey to centre in the camera

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 if the journey is unavailable

Constructors

Link copied to clipboard
constructor(journey: Journey, headingDegrees: Double? = null, insets: Double = 0.0, tilt: Double? = null, fallback: CameraTarget = Default)

Properties

Link copied to clipboard
Link copied to clipboard
val headingDegrees: Double? = null
Link copied to clipboard
val insets: Double = 0.0
Link copied to clipboard
Link copied to clipboard
val tilt: Double? = null