@vcmap/core
    Preparing search index...

    Class SelectSingleFeatureInteraction

    Class to select features for editing. Static FeatureStore features will be converted into their dynamic form

    Hierarchy (View Summary)

    Implements

    Index

    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

      • Optionalactive: number | boolean

      Returns void

    Properties

    active: EventType

    The current active bitmask for EventType

    featureChanged: VcsEvent<Feature<Geometry, { [x: string]: any }> | null> = ...

    Event called when the feature changes. Called with null if the selection is cleared.

    id: string

    A unique identifier for this interaction

    modificationKey: ModificationKeyType

    The current active ModificationKeyType

    pointerKey: PointerKeyType

    The currently active PointerKeyType