On this page

Type Alias FeatureIdentifier

A feature identifier that is bound to a source

type FeatureIdentifier = {
    id?: string | number;
    source: string;
    sourceLayer?: string;
}
Index

Properties

id?: string | number

Unique id of the feature.

source: string

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

sourceLayer?: string

For vector tile sources, sourceLayer is required.

Was this helpful?
SDK JS
Reference
FeatureIdentifier