state property

Map<String, Object?> state
getter/setter pair

A feature state.

This is a snapshot of the state that the feature had when it was interacted with. To update and read the original state, use MapboxMap/setFeatureState() and MapboxMap/getFeatureState().

Implementation

Map<String, Object?> state;