MvtMultiPolygon

class MvtMultiPolygon(val geometries: Array<MvtPolygon>) : MvtGeometry

Two or more polygons decoded from a single MVT feature.

Constructors

Link copied to clipboard
constructor(geometries: Array<MvtPolygon>)

Properties

Link copied to clipboard
open override val envelopeInternal: MvtEnvelope

Cached like JTS cached its own; hit-testing calls this per feature on every tap.

Link copied to clipboard
Link copied to clipboard
open override val isEmpty: Boolean

True when this geometry carries no coordinates.

Link copied to clipboard
open override val numGeometries: Int

1 for a single geometry, the child count for a multi-geometry, 0 for the empty one.

Functions

Link copied to clipboard
open override fun getGeometryN(n: Int): MvtGeometry

Mirrors Geometry.getGeometryN: returns this for single geometries.