moveCamera

fun moveCamera(coordinates: GeographicCoordinate? = null, headingDegrees: Double? = null, span: Double? = null, insets: Double = 0.0, tilt: Double? = null, animated: Boolean = false)

Sets one or more of the position, heading and elevation of the camera, optionally with an animation.

Since

0.0.86

Parameters

coordinates

The centre position of the camera

headingDegrees

The heading 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

animated

Whether the update should be animated


fun moveCamera(locationId: LocationId, span: Double? = null, insets: Double = 0.0, tilt: Double? = null, animated: Boolean = false)

Sets one or more of the position, heading and elevation of the camera, optionally with an animation.

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

animated

Whether the update should be animated


fun moveCamera(geographicCoordinateProviders: List<GeographicCoordinateProvider>, headingDegrees: Double? = null, insets: Double = 0.0, tilt: Double? = null, animated: Boolean = false)

Sets one or more of the position, heading and elevation of the camera, optionally with an animation.

Since

0.0.86

Parameters

geographicCoordinateProviders

The centre position of 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

animated

Whether the update should be animated


fun moveCamera(journey: Journey, headingDegrees: Double? = null, insets: Double = 0.0, tilt: Double? = null, animated: Boolean = false)

Sets one or more of the position, heading and elevation of the camera, optionally with an animation.

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

animated

Whether the update should be animated


fun moveCamera(cameraTarget: CameraTarget, animated: Boolean = false)

Sets one or more of the position, heading and elevation of the camera, optionally with an animation.

Since

0.0.86

Parameters

cameraTarget

The target of the camera

animated

Whether the update should be animated