GeoPoint

constructor(@FloatRange(from = -90.0, to = 90.0) latitude: Double, @FloatRange(from = -180.0, to = 180.0) longitude: Double)

Parameters

latitude

Latitude value. It should be between -90.0 and 90.0.

longitude

Longitude value. It should be between -180.0 and 180.0.