Merge pull request #2184 from ahocevar/google-no-kinetic
Restore synchronized map panning in google-map example
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user