@vcmap/core
    Preparing search index...

    Class FeatureAtPixelInteraction

    Hierarchy (View Summary)

    Index

    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

    hitTolerance: number = 10

    The number of pixels to take into account for picking features

    id: string

    A unique identifier for this interaction

    modificationKey: ModificationKeyType

    The current active ModificationKeyType

    pickPosition: EventType = EventType.CLICK

    event type for which to pick the position of the scene. this will create a second render.

    pickTranslucent: boolean = true

    whether to pick translucent depth or not, defaults to true

    pointerKey: PointerKeyType

    The currently active PointerKeyType

    pullPickedPosition: number = 0

    Pulls the picked position towards the camera position by this number