Merge pull request #6179 from fredj/rm_unused
Remove unused ol.Map.removePreRenderFunction function
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user