Builder

class Builder

Constructors

Builder
Link copied to clipboard
open fun Builder()

Functions

anchor
Link copied to clipboard

Point of reference for `zoom` and `angle`, assuming an origin at the top-left corner of the view.

open fun anchor(anchor: ScreenCoordinate): CameraOptions.Builder
bearing
Link copied to clipboard

Bearing, measured in degrees from true north. Wrapped to [0, 360).

open fun bearing(bearing: Double): CameraOptions.Builder
build
Link copied to clipboard
open fun build(): CameraOptions
center
Link copied to clipboard

Coordinate at the center of the camera.

open fun center(center: Point): CameraOptions.Builder
padding
Link copied to clipboard

Padding around the interior of the view that affects the frame of reference for `center`.

open fun padding(padding: EdgeInsets): CameraOptions.Builder
pitch
Link copied to clipboard

Pitch toward the horizon measured in degrees.

open fun pitch(pitch: Double): CameraOptions.Builder
zoom
Link copied to clipboard

Zero-based zoom level. Constrained to the minimum and maximum zoom levels.

open fun zoom(zoom: Double): CameraOptions.Builder