CameraTarget

sealed class CameraTarget

Represents a target for the camera's position which can be used with the MapView.moveCamera method.

Since

0.0.86

Inheritors

Types

Link copied to clipboard
data object Default : CameraTarget

Creates a camera target which move to the default position.

Link copied to clipboard
data class Geographic(val coordinates: GeographicCoordinateProvider? = null, val headingDegrees: Double? = null, val span: Double? = null, val insets: Double = 0.0, val tilt: Double? = null) : CameraTarget

Sets one or more of the position, heading and elevation of the camera.

Link copied to clipboard
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.

Link copied to clipboard
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.

Link copied to clipboard
data class ResolvableDestinations(val geographicCoordinateProviders: List<GeographicCoordinateProvider>, 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.

Link copied to clipboard
data object Stationary : CameraTarget

Creates a camera target which does not move.