Bounds

data class Bounds(val value: Value)

An array containing the longitude and latitude of the southwest and northeast corners of the source's bounding box in the following order: [sw.lng, sw.lat, ne.lng, ne.lat]. When this property is included in a source, no tiles outside of the given bounds are requested by Mapbox GL.

Parameters

value

the property wrapped in Value to be used with native renderer.

Constructors

Link copied to clipboard
fun Bounds(value: List<Double>)

Construct the Bounds with List.

Link copied to clipboard
fun Bounds(expression: Expression)

Construct the Bounds with Mapbox Expression.

Link copied to clipboard
fun Bounds(value: Value)

Types

Link copied to clipboard
object Companion

Public companion object.

Properties

Link copied to clipboard