Classdesc

Events emitted as map browser events are instances of this type. See ol.Map for which events trigger a map browser event.

Param: type

Event type.

Param: map

Map.

Param: browserEvent

Browser event.

Param: opt_dragging

Is the map currently being dragged?

Param: opt_frameState

Frame state.

Hierarchy

Constructors

  • Parameters

    • type: string

      Event type.

    • map: Map

      Map.

    • browserEvent: Event

      Browser event.

    • Optional opt_dragging: boolean

      Is the map currently being dragged?

    • Optional opt_frameState: FrameState

      Frame state.

    Returns MapBrowserEvent

    Classdesc

    Events emitted as map browser events are instances of this type. See ol.Map for which events trigger a map browser event.

Properties

coordinate: Coordinate

The coordinate of the original browser event.

Api

stable

dragging: boolean

Indicates if the map is currently being dragged. Only set for POINTERDRAG and POINTERMOVE events. Default is false.

Api

stable

frameState: FrameState

The frame state at the time of the event.

Api

map: Map

The map where the event occurred.

Api

stable

originalEvent: Event

The original browser event.

Constant

Api

stable

pixel: Pixel

The pixel of the original browser event.

Api

stable

target: Object

The event target.

Api

stable

type: string

The event type.

Api

stable

Methods

  • Stop event propagation.

    Returns void

    Function

    Api

    stable

  • Stop event propagation.

    Returns void

    Function

    Api

    stable

Generated using TypeDoc