Skip to content

FeatureIdentifier

FeatureIdentifier: object

A feature identifier that is bound to a source

Type declaration

id?

optional id: string | number

Unique id of the feature.

source

source: string

The id of the vector or GeoJSON source for the feature.

sourceLayer?

optional sourceLayer: string

For vector tile sources, sourceLayer is required.

Defined in

src/style/style.ts:70