MvtLabelGroup

class MvtLabelGroup(labels: List<Label>, priorities: IntArray, pixelSizes: IntArray, widths: FloatArray, minZooms: IntArray, featureIds: LongArray, displayName: String? = null) : AbstractRenderable

Per-tile bundle of Labels for one slippy tile, plus parallel priority and pixel-size arrays that the layer's cross-tile collision pass reads. The pass writes enabledMask; doRender then emits only the masked survivors. All collision / dedup / budget logic lives in MvtLabelCollider as one global pass per frame, so groups never collide per-tile.

Constructors

Link copied to clipboard
constructor(labels: List<Label>, priorities: IntArray, pixelSizes: IntArray, widths: FloatArray, minZooms: IntArray, featureIds: LongArray, displayName: String? = null)

Properties

Link copied to clipboard
open override var displayName: String?
Link copied to clipboard

Set by MvtVectorLayer's cross-tile collision pass each frame: render only labels whose bit is true. Null (no pass ran, or no labels) renders nothing.

Link copied to clipboard
open override var isEnabled: Boolean
Link copied to clipboard
open override var isPickEnabled: Boolean
Link copied to clipboard
open override var pickDelegate: Any?
Link copied to clipboard
open override var zOrder: Double

Functions

Link copied to clipboard
open override fun <T> getUserProperty(key: Any): T?
Link copied to clipboard
open override fun hasUserProperty(key: Any): Boolean
Link copied to clipboard
open override fun putUserProperty(key: Any, value: Any): Any?
Link copied to clipboard
open override fun removeUserProperty(key: Any): Any?
Link copied to clipboard
open override fun render(rc: RenderContext)