MapboxBoundingBox

class MapboxBoundingBox(val minLongitude: Double, val minLatitude: Double, val maxLongitude: Double, val maxLatitude: Double) : QueryParamValue

A bounding box to limit search results to a specific area.

See the Mapbox API documentation for more information.

Constructors

Link copied to clipboard
constructor(minLongitude: Double, minLatitude: Double, maxLongitude: Double, maxLatitude: Double)

Properties

Link copied to clipboard

The maximum latitude of the bounding box.

Link copied to clipboard

The maximum longitude of the bounding box.

Link copied to clipboard

The minimum latitude of the bounding box.

Link copied to clipboard

The minimum longitude of the bounding box.

Link copied to clipboard
open override val value: String

Functions

Link copied to clipboard
fun copy(minLongitude: Double = this.minLongitude, minLatitude: Double = this.minLatitude, maxLongitude: Double = this.maxLongitude, maxLatitude: Double = this.maxLatitude): MapboxBoundingBox

Create a copy of MapboxBoundingBox with the given or current values.