LocationId

data class LocationId(val locationId: LocationId, val span: 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

locationId

The centre position of the camera

span

The minimum diameter which should be visible around the camera if the camera was directly overhead

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 location is unavailable

Constructors

Link copied to clipboard
constructor(locationId: LocationId, span: Double? = null, insets: Double = 0.0, tilt: Double? = null, fallback: CameraTarget = Default)

Properties

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