Skip to content

FeatureIdentifier

FeatureIdentifier = object

Defined in: style/style.ts:81

A feature identifier that is bound to a source

Properties

id?

optional id?: string | number

Defined in: style/style.ts:85

Unique id of the feature.


source

source: string

Defined in: style/style.ts:89

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


sourceLayer?

optional sourceLayer?: string

Defined in: style/style.ts:93

For vector tile sources, sourceLayer is required.