# Class: MapEvent

This documentation is for OpenLayers v10.9.0. The latest is v.

## ol/MapEvent~MapEvent

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

### Subclasses

- MapBrowserEvent

### Extends

- BaseEvent

### Members

#### frameState{FrameState}

  The frame state at the time of the event.

#### map{Map}

  The map where the event occurred.

#### target{Object}

  The event target.

#### type{string}

  The event type.

### Methods

#### preventDefault() inherited

events/Event.js, line 50

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

#### stopPropagation() inherited

events/Event.js, line 58

  Stop event propagation.

### Events

#### change inherited

events/EventType.js, line 10

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

#### error inherited

events/EventType.js, line 17

  Generic error event. Triggered when an error occurs.

#### loadend

MapEventType.js, line 37

  Triggered when loading of additional map data has completed.

#### loadstart

MapEventType.js, line 30

  Triggered when loading of additional map data (tiles, images, features) starts.

#### moveend

MapEventType.js, line 23

  Triggered after the map is moved.

#### movestart

MapEventType.js, line 16

  Triggered when the map starts moving.

#### postrender

MapEventType.js, line 9

  Triggered after a map frame is rendered.