Skip to content

FeatureIdentifier

FeatureIdentifier: object

Defined in: src/style/style.ts:74

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.