diff --git a/src/ol/map.js b/src/ol/map.js index d46ac4a4fb..c8005378c8 100644 --- a/src/ol/map.js +++ b/src/ol/map.js @@ -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