create

fun create(bottomLeft: GeoPoint, topRight: GeoPoint): GeoBox

Create a GeoBox instance.

Parameters

bottomLeft

The bottom left corner of the rectangle.

topRight

The top right corner of the rectangle.


fun create(top: Double, left: Double, bottom: Double, right: Double): GeoBox

Create a GeoBox instance.

Parameters

top

Longitude of the top boundary of the rectangle.

left

Latitude of the left boundary of the rectangle.

bottom

Longitude of the bottom boundary of the rectangle.

right

Latitude of the right boundary of the rectangle.