Rename ol.Map#requestRenderFrame to ol.Map#render
This commit is contained in:
@@ -114,7 +114,7 @@ ol.interaction.MouseWheelZoom.prototype.doZoom_ = function(map) {
|
||||
// FIXME works for View2D only
|
||||
var view = map.getView().getView2D();
|
||||
|
||||
map.requestRenderFrame();
|
||||
map.render();
|
||||
ol.interaction.Interaction.zoomByDelta(map, view, -delta, this.lastAnchor_,
|
||||
this.duration_);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user