Add tests for ol.style.IconImageCache

This commit is contained in:
Éric Lemoine
2014-02-04 15:24:26 +01:00
parent 90c41523a2
commit c2d0cab07a
2 changed files with 80 additions and 0 deletions

View File

@@ -437,6 +437,15 @@ ol.style.IconImageCache.getKey = function(src, crossOrigin) {
};
/**
* FIXME empty description for jsdoc
*/
ol.style.IconImageCache.prototype.clear = function() {
this.cache_ = {};
this.cacheSize_ = 0;
};
/**
* FIXME empty description for jsdoc
*/