sdk-maps / com.tomtom.online.sdk.map / CameraPosition / CameraPositionBuilder

CameraPositionBuilder

class CameraPositionBuilder

Builder used to construct the CameraPosition object.

Constructors

<init>

CameraPositionBuilder()

Builder used to construct the CameraPosition object.

Functions

animationDuration

fun animationDuration(animationDuration: Int): CameraPosition.CameraPositionBuilder

Sets animation duration.

bearing

fun bearing(bearing: Double): CameraPosition.CameraPositionBuilder

Sets bearing.

build

fun build(): CameraPosition

Creates a new instance of CameraPosition.

focusPosition

fun focusPosition(focusPosition: LatLng): CameraPosition.CameraPositionBuilder

Sets focus position.

pitch

fun pitch(pitch: Double): CameraPosition.CameraPositionBuilder

Sets pitch.

zoom

fun zoom(zoom: Double): CameraPosition.CameraPositionBuilder

Sets zoom.