map.apps Bundle APIs 4.20.0
    Preparing search index...

    Interface LayerLookupResult

    The result of a layer lookup.

    interface LayerLookupResult {
        layer?: Layer;
        sublayer?: Sublayer;
        type: "invalid" | "layer" | "sublayer";
    }
    Index

    Properties

    Properties

    layer?: Layer

    The layer found in the map.

    sublayer?: Sublayer

    The sublayer found in the map.

    type: "invalid" | "layer" | "sublayer"

    type 'invalid' if the layerIdPath is invalid. type 'layer' if the layerIdPath has pointed to a layer, but layer can still be undefined. type 'sublayer' if the layerIdPath has pointed to a sublayer, but sublayer can still be undefined.