Skip to content

FeatureIdentifier

FeatureIdentifier = object

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

A feature identifier that is bound to a source

Properties

id?

optional id: string | number

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

Unique id of the feature.


source

source: string

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

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


sourceLayer?

optional sourceLayer: string

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

For vector tile sources, sourceLayer is required.