Interface SourceBridgeProjection

Result of projecting a package's source bindings.

interface SourceBridgeProjection {
    descriptors: SourceDescriptor[];
    filtersBySourceId: Map<string, string>;
    nativeSources: NativeMapLibreSourceEntry[];
}

Properties

descriptors: SourceDescriptor[]

Protocol-backed descriptors destined for createDataset.

filtersBySourceId: Map<string, string>

Binding filter expressions captured per source id.

nativeSources: NativeMapLibreSourceEntry[]

MapLibre-native source entries keyed by sourceId. These flow straight into the composed style's sources map without going through Dataset.