NextGIS Frontend
    Preparing search index...

    Interface OnLayerMouseOptions<F, L>

    interface OnLayerMouseOptions<F extends Feature = Feature, L = LayerAdapter> {
        event: MapClickEvent;
        feature?: F;
        getBounds: () => LngLatBoundsArray;
        getCenter: () => LngLatArray;
        layer: L;
        selected?: boolean;
        source: any;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    feature?: F
    getBounds: () => LngLatBoundsArray

    Get the extent for the geometry on which the action was executed.

    getCenter: () => LngLatArray

    Get the center for the geometry on which the action was executed.

    layer: L
    selected?: boolean
    source: any