Eval Context
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.
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