OpenLayers v4.0.1 API - Class: MapEvent

# Class: MapEvent

This documentation is for OpenLayers v4.0.1. The latest is v.

## ol.MapEvent

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

### Subclasses

- ol.MapBrowserEvent

### Extends

- ol.events.Event

### Members

#### frameState{olx.FrameState}

  The frame state at the time of the event.

#### map{ol.Map}

  The map where the event occurred.

#### target{Object}

  The event target.

#### type{string}

  The event type.

### Methods

#### preventDefault() inherited

src/ol/events/event.js, line 48

  Stop event propagation.

#### stopPropagation() inherited

src/ol/events/event.js, line 56

  Stop event propagation.

### Events

#### change inherited

src/ol/events/eventtype.js, line 8

  Generic change event. Triggered when the revision counter is increased.

#### moveend

src/ol/mapeventtype.js, line 15

  Triggered after the map is moved.

#### postrender

src/ol/mapeventtype.js, line 8

  Triggered after a map frame is rendered.