Classdesc

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.

    • Optional frameState: null | FrameState

      Frame state.

    Returns MapEvent

Properties

defaultPrevented: boolean
frameState: null | FrameState

The frame state at the time of the event.

Api

The map where the event occurred.

Api

propagationStopped: boolean
target: any

The event target.

Api

type: string

The event type.

Api

Methods

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

    Returns void

    Api

  • Stop event propagation.

    Returns void

    Api