GeoPoint
data class GeoPoint(@FloatRange(from = -90.0, to = 90.0) val latitude: Double, @FloatRange(from = -180.0, to = 180.0) val longitude: Double) : Parcelable
The implementation of geographic coordinates.
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.
Constructors
Link copied to clipboard
constructor(@FloatRange(from = -90.0, to = 90.0) latitude: Double, @FloatRange(from = -180.0, to = 180.0) longitude: Double)
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Renders a GeoPoint as a string.