Remove unused ol.Map.removePreRenderFunction function

The function is no longer used after #6079
This commit is contained in:
Frederic Junod
2016-11-28 14:00:24 +01:00
parent d47e5aed10
commit 59b8d969d6

View File

@@ -14,7 +14,6 @@ goog.require('ol.Object');
goog.require('ol.ObjectEventType');
goog.require('ol.TileQueue');
goog.require('ol.View');
goog.require('ol.array');
goog.require('ol.asserts');
goog.require('ol.control');
goog.require('ol.dom');
@@ -532,15 +531,6 @@ ol.Map.prototype.beforeRender = function(var_args) {
};
/**
* @param {ol.PreRenderFunction} preRenderFunction Pre-render function.
* @return {boolean} Whether the preRenderFunction has been found and removed.
*/
ol.Map.prototype.removePreRenderFunction = function(preRenderFunction) {
return ol.array.remove(this.preRenderFunctions_, preRenderFunction);
};
/**
*
* @inheritDoc