Class: MapBrowserEvent

ol.MapBrowserEvent

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

Extends

Members

coordinate{ol.Coordinate}

frameState{olx.FrameState} experimental

The frame state at the time of the event.

map{ol.Map}

The map where the event occurred.

originalEvent{Event}

pixel{ol.Pixel}

Methods

Prevents the default browser action.

See:

stopPropagation()

Prevents further propagation of the current event.

See:

Events

click experimental

A click with no dragging. A double click will fire two of this.

dblclick experimental

A true double click, with no dragging.

moveend inherited experimental

Triggered after the map is moved.

pointerdrag experimental

Triggered when a pointer is dragged.

pointermove experimental

Triggered when a pointer is moved. Note that on touch devices this is triggered when the map is panned, so is not the same as mousemove.

postrender inherited experimental

Triggered after a map frame is rendered.

singleclick experimental

A true single click with no dragging and no double click. Note that this event is delayed by 250 ms to ensure that it is not a double click.