copy

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.

Parameters

minLongitude

The minimum longitude of the bounding box.

minLatitude

The minimum latitude of the bounding box.

maxLongitude

The maximum longitude of the bounding box.

maxLatitude

The maximum latitude of the bounding box.