Open Pioneer Trails Packages
    Preparing search index...

    Interface AddLayerOptionsAboveBelow

    interface AddLayerOptionsAboveBelow {
        at: "above" | "below";
        reference: string | Layer;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    at: "above" | "below"

    Where to insert the new layer.

    Default: "top"

    • "top": Insert the new layer above all other operational layers.
    • "bottom": Insert the new layer below all other operational layers.
    • "above": Insert the new layer above the specified reference layer.
    • "below": Insert the new layer below the specified reference layer.
    reference: string | Layer

    The layer that serves as a reference point for insertion.

    Can be specified either as a layer object or an id.

    The reference must be a valid layer in the layer collection.