# Class: TileSourceEvent

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

## ol/source/Tile.TileSourceEvent

Events emitted by `TileSource` instances are instances of this type.

### Extends

- BaseEvent

### Members

#### target{Object}

  The event target.

#### tile{Tile}

  The tile related to the event.

#### 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.

#### tileloadend

source/TileEventType.js, line 16

  Triggered when a tile finishes loading, either when its data is loaded, or when loading was aborted because the tile is no longer needed.

#### tileloaderror

source/TileEventType.js, line 24

  Triggered if tile loading results in an error. Note that this is not the right place to re-fetch tiles. See `load` for details.

#### tileloadstart

source/TileEventType.js, line 9

  Triggered when a tile starts loading.