Point

@Serializable
@SerialName(value = "Point")
data class Point(val x: Double, val y: Double, val z: Double? = null) : CachedGeometry

Constructors

Link copied to clipboard
constructor(x: Double, y: Double, z: Double? = null)

Properties

Link copied to clipboard
val x: Double
Link copied to clipboard
val y: Double
Link copied to clipboard
val z: Double?

Functions

Link copied to clipboard

Envelope-center (longitude, latitude) of this geometry — a deterministic representative point. Used to assign a feature to a single tile (the one containing its center), so a geometry that straddles a tile boundary renders in exactly one tile instead of every tile its envelope touches.