add an ol.TileCache and use it in ol.TileLayer

This commit is contained in:
Éric Lemoine
2012-06-21 18:56:43 +02:00
parent a06de64f37
commit 1c7e0f8481
7 changed files with 92 additions and 1 deletions

View File

@@ -88,6 +88,13 @@ ol.Tile.prototype.handleImageError = function(evt) {
this.events_.triggerEvent('error');
};
/**
*
*/
ol.Tile.prototype.destroy = function() {
this.events_.triggerEvent('destroy');
};
/**
* Create an image node. This is done by cloning
* the same image element.