Remove private static members from ol/renderer/Map
This commit is contained in:
@@ -24,7 +24,6 @@ const MapRenderer = function(container, map) {
|
|||||||
|
|
||||||
Disposable.call(this);
|
Disposable.call(this);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
* @private
|
||||||
* @type {ol.PluggableMap}
|
* @type {ol.PluggableMap}
|
||||||
@@ -81,11 +80,10 @@ MapRenderer.prototype.removeLayerRenderers = function() {
|
|||||||
/**
|
/**
|
||||||
* @param {ol.PluggableMap} map Map.
|
* @param {ol.PluggableMap} map Map.
|
||||||
* @param {olx.FrameState} frameState Frame state.
|
* @param {olx.FrameState} frameState Frame state.
|
||||||
* @private
|
|
||||||
*/
|
*/
|
||||||
MapRenderer.expireIconCache_ = function(map, frameState) {
|
function expireIconCache(map, frameState) {
|
||||||
iconImageCache.expire();
|
iconImageCache.expire();
|
||||||
};
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -314,9 +312,7 @@ MapRenderer.prototype.removeUnusedLayerRenderers_ = function(map, frameState) {
|
|||||||
* @protected
|
* @protected
|
||||||
*/
|
*/
|
||||||
MapRenderer.prototype.scheduleExpireIconCache = function(frameState) {
|
MapRenderer.prototype.scheduleExpireIconCache = function(frameState) {
|
||||||
frameState.postRenderFunctions.push(
|
frameState.postRenderFunctions.push(/** @type {ol.PostRenderFunction} */ (expireIconCache));
|
||||||
/** @type {ol.PostRenderFunction} */ (MapRenderer.expireIconCache_)
|
|
||||||
);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user