Interface OnLayerSelectOptions<F, L>

interface OnLayerSelectOptions<F, L> {
    features?: F[];
    getBounds: (() => LngLatBoundsArray);
    getCenter: (() => LngLatArray);
    layer: L;
    type: OnLayerSelectType;
}

Type Parameters

Hierarchy (view full)

Properties

features?: 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