Builder

class Builder

Constructors

Builder
Link copied to clipboard
open fun Builder()

Functions

bounds
Link copied to clipboard

The latitude and longitude bounds to which the camera center are constrained.

open fun bounds(bounds: CoordinateBounds): CameraBoundsOptions.Builder
build
Link copied to clipboard
open fun build(): CameraBoundsOptions
maxPitch
Link copied to clipboard

The maximum allowed pitch value in degrees.

open fun maxPitch(maxPitch: Double): CameraBoundsOptions.Builder
maxZoom
Link copied to clipboard

The maximum zoom level, in Mapbox zoom levels 0-25.5. At low zoom levels, a small set of map tiles covers a large geographical area. At higher zoom levels, a larger number of tiles cover a smaller geographical area.

open fun maxZoom(maxZoom: Double): CameraBoundsOptions.Builder
minPitch
Link copied to clipboard

The minimum allowed pitch value in degrees.

open fun minPitch(minPitch: Double): CameraBoundsOptions.Builder
minZoom
Link copied to clipboard

The minimum zoom level, in Mapbox zoom levels 0-25.5.

open fun minZoom(minZoom: Double): CameraBoundsOptions.Builder