diff --git a/examples/side-by-side.html b/examples/side-by-side.html index ffc817397b..d113c5ea8d 100644 --- a/examples/side-by-side.html +++ b/examples/side-by-side.html @@ -45,7 +45,7 @@ Rotate: - Alt+drag, r to reset + Alt+Shift+drag, r to reset Brightness/contrast: diff --git a/src/ol/map.js b/src/ol/map.js index a0400327e3..85635f5615 100644 --- a/src/ol/map.js +++ b/src/ol/map.js @@ -893,8 +893,8 @@ ol.Map.createInteractions_ = function(mapOptions) { var rotate = goog.isDef(mapOptions.rotate) ? mapOptions.rotate : true; if (rotate) { - interactions.push( - new ol.interaction.DragRotate(ol.interaction.condition.altKeyOnly)); + interactions.push(new ol.interaction.DragRotate( + ol.interaction.condition.altShiftKeysOnly)); } var doubleClickZoom = goog.isDef(mapOptions.doubleClickZoom) ?