Skip to content

FeatureIdentifier

FeatureIdentifier = object

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

A feature identifier that is bound to a source

Properties

id?

optional id: string | number

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

Unique id of the feature.


source

source: string

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

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


sourceLayer?

optional sourceLayer: string

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

For vector tile sources, sourceLayer is required.