LineProgress

["line-progress"] — arc-length parameter along the current line feature, in 0, 1. Read from EvalContext.lineProgress which the layer fills when sampling a line gradient at progress points along each line subdivision.

Functions

Link copied to clipboard
open override fun evaluate(ctx: MvtExpression.EvalContext): Double
Link copied to clipboard

True when this expression (or any sub-expression) reads per-feature data — i.e. its result can differ between two features in the same tile at the same zoom. That means a reference to a feature property (Get / Has), the feature's dynamic state (FeatureState), its geometry type (GeometryType), or its line-progress parameter (LineProgress).