Events emitted as map events are instances of this type. See module:ol/Map~Map for which events trigger a map event.

Hierarchy (view full)

Constructors

  • Parameters

    • type: string

      Event type.

    • map: external.ol.Map

      Map.

    • OptionalframeState: null | FrameState

      Frame state.

    Returns MapEvent

Properties

defaultPrevented: boolean
frameState: null | FrameState

The frame state at the time of the event.

The map where the event occurred.

propagationStopped: boolean
target: any

The event target.

type: string

The event type.

Methods

  • Prevent default. This means that no emulated click, singleclick or doubleclick events will be fired.

    Returns void

  • Stop event propagation.

    Returns void