Builder

class Builder

Constructors

Builder
Link copied to clipboard
open fun Builder()

Functions

anchor
Link copied to clipboard
open fun anchor(@Nullable anchor: ScreenCoordinate): CameraOptions.Builder
Point of reference for `zoom` and `angle`, assuming an origin at the top-left corner of the view.
bearing
Link copied to clipboard
open fun bearing(@Nullable bearing: Double): CameraOptions.Builder
Bearing, measured in degrees from true north.
build
Link copied to clipboard
open fun build(): CameraOptions
center
Link copied to clipboard
open fun center(@Nullable center: Point): CameraOptions.Builder
Coordinate at the center of the camera.
padding
Link copied to clipboard
open fun padding(@Nullable padding: EdgeInsets): CameraOptions.Builder
Padding around the interior of the view that affects the frame of reference for `center`.
pitch
Link copied to clipboard
open fun pitch(@Nullable pitch: Double): CameraOptions.Builder
Pitch toward the horizon measured in degrees.
zoom
Link copied to clipboard
open fun zoom(@Nullable zoom: Double): CameraOptions.Builder
Zero-based zoom level.