PolygonRings

class PolygonRings(val outer: DoubleArray)

Rings as flat interleaved [lon°, lat°, …] degree arrays — avoids a Position object per vertex (thousands per dense tile) and feeds earcut / MvtBatchedPolygonTile directly.

Constructors

Link copied to clipboard
constructor(outer: DoubleArray)

Properties

Link copied to clipboard

Hole rings; stays the shared empty list until the first hole - most rings have none.

Link copied to clipboard

Functions

Link copied to clipboard
fun addHole(ring: DoubleArray)