Promote Id Value
A property to use as a feature id (for feature state). Either a property name, or an object of the form {<sourceLayer>: <propertyName>}
:
If specified as a string for a vector tile source (com.mapbox.maps.extension.compose.style.sources.generated.VectorSourceState), the same property is used across all its source layers.
If specified as an object only specified source layers will have id overridden, others will fallback to original feature id.
Parameters
value
the property wrapped in Value to be used with native renderer.
Constructors
Link copied to clipboard
Construct the PromoteIdValue with propertyName and optional sourceId.
Link copied to clipboard
Construct the PromoteId with Mapbox Expression.
Link copied to clipboard