Feature State
["feature-state", key] — reads dynamic per-feature state set on the layer at runtime (typically for hover / select highlight). Looks up key in EvalContext.featureState (set per-feature via MvtVectorLayer.setFeatureState). Returns null when no state is set for the current feature.
Functions
Link copied to clipboard
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).