GeoRect

constructor(minLon: Double, minLat: Double, maxLon: Double, maxLat: Double)

Defines a 2D rectangle by two points (min and max).

Parameters

minLon

Minimum longitude

minLat

Minimum latitude

maxLon

Maximum longitude

maxLat

Maximum latitude


constructor(min: GeoPoint, max: GeoPoint)

Defines a 2D rectangle by two GeoPoint (min and max).