Named export for ol/style

This commit is contained in:
Frederic Junod
2017-12-18 16:14:50 +01:00
parent afa99f5788
commit dc70c4376d
5 changed files with 32 additions and 43 deletions

View File

@@ -9,7 +9,7 @@ import {getWidth} from '../extent.js';
import {TRUE} from '../functions.js';
import _ol_layer_Layer_ from '../layer/Layer.js';
import _ol_plugins_ from '../plugins.js';
import _ol_style_ from '../style.js';
import {iconImageCache} from '../style.js';
import _ol_transform_ from '../transform.js';
/**
@@ -84,8 +84,7 @@ _ol_renderer_Map_.prototype.removeLayerRenderers = function() {
* @private
*/
_ol_renderer_Map_.expireIconCache_ = function(map, frameState) {
var cache = _ol_style_.iconImageCache;
cache.expire();
iconImageCache.expire();
};