Interface ConnectLocator

A source URL plus the discovery and source-selection hints that belong to it.

interface ConnectLocator {
    collectionId?: string;
    protocol?: ConnectProtocolHint;
    sourceId?: string;
    styleId?: string;
    tileMatrixSetId?: string;
    typeName?: string;
    url: string | URL;
}

Properties

collectionId?: string

Restrict OGC API Features or STAC discovery to one collection.

sourceId?: string

Select the connection's default source without silently choosing the first advertised source.

styleId?: string

Restrict WMS/WMTS discovery to one advertised style.

tileMatrixSetId?: string

Restrict WMTS discovery to one advertised tile matrix set.

typeName?: string

Restrict WFS discovery to one feature type or WMS/WMTS discovery to one named layer.

url: string | URL