Builder

class Builder

Builder for FollowPuckViewportStateOptions

Constructors

Builder
Link copied to clipboard
fun Builder()

Functions

bearing
Link copied to clipboard

Indicates how to obtain the value to use for CameraOptions.bearing when setting the camera. If set to null, bearing will not be modified by the FollowPuckViewportState.

build
Link copied to clipboard
fun build(): FollowPuckViewportStateOptions
padding
Link copied to clipboard
fun padding(padding: EdgeInsets?): FollowPuckViewportStateOptions.Builder

The value to use for setting CameraOptions.padding. If null, padding will not be modified by the FollowPuckViewportState.

pitch
Link copied to clipboard
fun pitch(pitch: Double?): FollowPuckViewportStateOptions.Builder

The value to use for setting CameraOptions.pitch. If null, pitch will not be modified by the FollowPuckViewportState.

zoom
Link copied to clipboard
fun zoom(zoom: Double?): FollowPuckViewportStateOptions.Builder

The value to use for setting CameraOptions.zoom. If null, zoom will not be modified by the FollowPuckViewportState.