Merge pull request #6179 from fredj/rm_unused

Remove unused ol.Map.removePreRenderFunction function
This commit is contained in:
Frédéric Junod
2016-11-28 16:53:15 +01:00
committed by GitHub

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