Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SelectEvent

classdesc

Events emitted by {@link module:ol/interaction/Select~Select} instances are instances of this type.

Hierarchy

  • BaseEvent
    • SelectEvent

Index

Constructors

constructor

  • new SelectEvent(type: string, selected: Feature<Geometry>[], deselected: Feature<Geometry>[], mapBrowserEvent: MapBrowserEvent<unknown>): SelectEvent
  • Parameters

    • type: string

      The event type.

    • selected: Feature<Geometry>[]

      Selected features.

    • deselected: Feature<Geometry>[]

      Deselected features.

    • mapBrowserEvent: MapBrowserEvent<unknown>

      Associated {@link module:ol/MapBrowserEvent}.

    Returns SelectEvent

Properties

propagationStopped

propagationStopped: boolean

target

target: any

The event target.

api

type

type: string

The event type.

api

Methods

preventDefault

  • preventDefault(): void
  • Stop event propagation.

    api

    Returns void

stopPropagation

  • stopPropagation(): void
  • Stop event propagation.

    api

    Returns void

Generated using TypeDoc