Builder

class Builder

Builder for OverviewViewportStateOptions

Constructors

Builder
Link copied to clipboard
fun Builder()

Functions

animationDurationMs
Link copied to clipboard
fun animationDurationMs(duration: Long): OverviewViewportStateOptions.Builder

The length of the animation performed by OverviewViewportState when it starts updating the camera and anytime OverviewViewportState.options is set.

bearing
Link copied to clipboard
fun bearing(bearing: Double?): OverviewViewportStateOptions.Builder

The bearing that OverviewViewportState should use when calculating its camera.

build
Link copied to clipboard
fun build(): OverviewViewportStateOptions
geometry
Link copied to clipboard
fun geometry(geometry: Geometry): OverviewViewportStateOptions.Builder

The geometry that the OverviewViewportState should use when calculating its camera.

padding
Link copied to clipboard
fun padding(padding: EdgeInsets): OverviewViewportStateOptions.Builder

The edge padding that OverviewViewportState should use when calculating its camera.

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

The pitch that OverviewViewportState should use when calculating its camera.