Change View2D function names
Also make the TouchZoom interaction no longer use a private View2D function.
This commit is contained in:
@@ -111,7 +111,7 @@ ol.interaction.MouseWheelZoom.prototype.doZoom_ = function(map) {
|
||||
goog.asserts.assert(view instanceof ol.View2D);
|
||||
|
||||
map.requestRenderFrame();
|
||||
view.zoom(map, -delta, this.lastAnchor_,
|
||||
view.zoomByDelta(map, -delta, this.lastAnchor_,
|
||||
ol.interaction.MOUSEWHEELZOOM_ANIMATION_DURATION);
|
||||
|
||||
this.delta_ = 0;
|
||||
|
||||
Reference in New Issue
Block a user