Shared module for tile source event type

This commit is contained in:
Tim Schaub
2016-12-27 14:11:10 -07:00
parent e2f78a8006
commit 091daf9d70
3 changed files with 33 additions and 32 deletions

View File

@@ -334,32 +334,3 @@ ol.source.Tile.Event = function(type, tile) {
};
ol.inherits(ol.source.Tile.Event, ol.events.Event);
/**
* @enum {string}
*/
ol.source.Tile.EventType = {
/**
* Triggered when a tile starts loading.
* @event ol.source.Tile.Event#tileloadstart
* @api stable
*/
TILELOADSTART: 'tileloadstart',
/**
* Triggered when a tile finishes loading.
* @event ol.source.Tile.Event#tileloadend
* @api stable
*/
TILELOADEND: 'tileloadend',
/**
* Triggered if tile loading results in an error.
* @event ol.source.Tile.Event#tileloaderror
* @api stable
*/
TILELOADERROR: 'tileloaderror'
};