GeometryCollection

@Serializable
@SerialName(value = "GeometryCollection")
data class GeometryCollection(val geometries: List<CachedGeometry>) : CachedGeometry

A heterogeneous collection of geometries belonging to one feature (GeoJSON GeometryCollection, GPKG GEOMETRYCOLLECTION). Consumers fan it out recursively.

Constructors

Link copied to clipboard
constructor(geometries: List<CachedGeometry>)

Properties

Link copied to clipboard

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.