Class SelectMultiFeatureInteraction

Interaction to create a selection set from the given layer. Will use CTRL modifier key to add more features to the set. Clears the set if not clicking a feature Creates a new set when clicking a feature FeatureStore features will be converted to their dynamic state on selection.

Hierarchy

Implements

Accessors

Constructors

Methods

  • Sets the interaction active. Use boolean (true|false) to toggle default behavior. Pass it a bitmask of EventType to change the active state. Call without arguments to reset the default active, modification key and pointer Key behavior

    Parameters

    • Optional active: number | boolean

    Returns void

Properties

_layer: VectorLayer
_selectedFeatures: Map<string | number, Feature<Geometry>> = ...
active: number

The current active bitmask for EventType

featuresChanged: VcsEvent<Feature<Geometry>[]> = ...

Event raised when the feature selection changes. Will be called with an array of features or an empty array, when no feature is selected

id: string

A unique identifier for this interaction

modificationKey: ModificationKeyType

The current active ModificationKeyType

pointerKey: PointerKeyType

The currently active PointerKeyType

Generated using TypeDoc