Rename addPreRenderFunction to beforeRender and remove the plural

This commit is contained in:
Tim Schaub
2013-09-03 10:57:31 -06:00
parent e83e0e1374
commit dc76b81780
9 changed files with 25 additions and 39 deletions
+1 -1
View File
@@ -275,7 +275,7 @@ ol.control.ZoomSlider.prototype.handleSliderChange_ = function(e) {
}
} else {
goog.asserts.assert(goog.isDef(this.currentResolution_));
map.addPreRenderFunction(ol.animation.zoom({
map.beforeRender(ol.animation.zoom({
resolution: this.currentResolution_,
duration: ol.control.ZOOMSLIDER_ANIMATION_DURATION,
easing: ol.easing.easeOut