From c8c0f087f08a7e9f2239654ef44d0428b5c84b5c Mon Sep 17 00:00:00 2001 From: Andreas Hocevar Date: Tue, 10 Jun 2014 16:11:40 +0200 Subject: [PATCH] Restore synchronized map panning in google-map example --- examples/google-map.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/google-map.js b/examples/google-map.js index 690331a3ab..24a2369596 100644 --- a/examples/google-map.js +++ b/examples/google-map.js @@ -54,9 +54,9 @@ var map = new ol.Map({ layers: [vector], interactions: ol.interaction.defaults({ altShiftDragRotate: false, - pan: false, + dragPan: false, rotate: false - }).extend([new ol.interaction.DragPan({kinetic: false})]), + }).extend([new ol.interaction.DragPan({kinetic: null})]), target: olMapDiv, view: view });