EvalContext

class EvalContext(val zoom: Double, val properties: Map<String, Any?>, val featureState: Map<String, Any?>? = null, val geometryType: MvtGeometryType? = null, val lineProgress: Double = 0.0)

Tile-zoom + feature properties + optional feature state. Construct once per feature and frame. featureState surfaces dynamic per-feature data (hover/select highlight, pulse animation phase) — read by FeatureState expressions.

Constructors

Link copied to clipboard
constructor(zoom: Double, properties: Map<String, Any?>, featureState: Map<String, Any?>? = null, geometryType: MvtGeometryType? = null, lineProgress: Double = 0.0)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Arc-length parameter along the current line feature, in 0, 1. Read by LineProgress.

Link copied to clipboard
Link copied to clipboard