PromoteIdDefinition

external interface PromoteIdDefinition(source)

Property to use as a feature ID (for feature state) in GeoJSONSourceSpecification or VectorSourceSpecification.

Can be either a simple property name (string) or an object mapping source layer names to property names.

See MapLibre Style Spec.