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],
|
layers: [vector],
|
||||||
interactions: ol.interaction.defaults({
|
interactions: ol.interaction.defaults({
|
||||||
altShiftDragRotate: false,
|
altShiftDragRotate: false,
|
||||||
pan: false,
|
dragPan: false,
|
||||||
rotate: false
|
rotate: false
|
||||||
}).extend([new ol.interaction.DragPan({kinetic: false})]),
|
}).extend([new ol.interaction.DragPan({kinetic: null})]),
|
||||||
target: olMapDiv,
|
target: olMapDiv,
|
||||||
view: view
|
view: view
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user