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

    Interface ActionContext

    Context provided to the Action#trigger method.

    The context contains all features in the popup and the selected one.

    interface ActionContext {
        action: Action;
        features: Graphic[];
        location: Point;
        selectedFeature: Graphic;
    }
    Index

    Properties

    action: Action

    Backreference to triggered action.

    features: Graphic[]

    Array of all Graphic objects in the popup

    location: Point

    The Point where the popup is positioned.

    selectedFeature: Graphic

    The currently selected Graphic of the popup.