Longitude
A longitude.
The longitude is measured in degrees, between -180° and 180°, both inclusive.
Positive values are east of the prime meridian, negative values are west.
This type is a helper to avoid confusing Longitude and Latitude, it isn't itself a proper GeoJSON type. For this reason, it isn't serializable by itself (but types that contain it, such as Point, are).
Example
val bordeaux = Geo.Point(
Geo.Longitude(-0.5811),
Geo.Latitude(44.8416),
)Content copied to clipboard