@geogirafe/lib-geoportal
    Preparing search index...

    Function applyFeaturesToSelection

    • Applies the given Array of Features to the Selection (state.selection.selectedFeatures) depending on the given SelectionMode (via state.selection.selectionMode).

      Parameters

      • features: Feature<Geometry>[]

        Array of Features to add/replace/remove to/from existing selected Features

      • state: State

        The State to apply the given Features

      Returns void