Skip to content

FeatureIdentifier

FeatureIdentifier = object

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

A feature identifier that is bound to a source

Properties

id?

optional id: string | number

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

Unique id of the feature.


source

source: string

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

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


sourceLayer?

optional sourceLayer: string

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

For vector tile sources, sourceLayer is required.