Rename _ol_interaction_PinchZoom_ to PinchZoom

This commit is contained in:
Frederic Junod
2018-01-11 13:49:48 +01:00
parent 356cea1611
commit 120c42f7a4
4 changed files with 17 additions and 17 deletions

View File

@@ -11,7 +11,7 @@ import _ol_interaction_KeyboardPan_ from './interaction/KeyboardPan.js';
import _ol_interaction_KeyboardZoom_ from './interaction/KeyboardZoom.js';
import MouseWheelZoom from './interaction/MouseWheelZoom.js';
import _ol_interaction_PinchRotate_ from './interaction/PinchRotate.js';
import _ol_interaction_PinchZoom_ from './interaction/PinchZoom.js';
import PinchZoom from './interaction/PinchZoom.js';
/**
@@ -75,7 +75,7 @@ export function defaults(opt_options) {
var pinchZoom = options.pinchZoom !== undefined ? options.pinchZoom : true;
if (pinchZoom) {
interactions.push(new _ol_interaction_PinchZoom_({
interactions.push(new PinchZoom({
constrainResolution: options.constrainResolution,
duration: options.zoomDuration
}));