Point¶
@Serializable(with = Geo.Point.Serializer::class)
data class Point(val x: Geo.Longitude, val y: Geo.Latitude) : Geo
A GeoJSON point.
A point is a basic 2d coordinate.
Example¶
External resources¶
Constructors¶
Point¶
constructor(x: Geo.Longitude, y: Geo.Latitude)
Types¶
Serializer¶
@LowLevelApi
object Serializer : KSerializer<Geo.Point>
Properties¶
x¶
val x: Geo.Longitude
y¶
val y: Geo.Latitude