Parameterize pixel delta

This commit is contained in:
Tom Payne
2012-08-04 15:50:28 +02:00
parent 7ab3b3dd82
commit 97eabc8693
2 changed files with 16 additions and 6 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ ol.createMap = function(target, opt_values, opt_rendererHints) {
var controls = new ol.Collection();
controls.push(new ol.control.DblClickZoom(constraints));
controls.push(new ol.control.DragPan(constraints));
controls.push(new ol.control.KeyboardPan(constraints));
controls.push(new ol.control.KeyboardPan(constraints, 16));
controls.push(new ol.control.KeyboardZoom(constraints));
controls.push(new ol.control.MouseWheelZoom(constraints));
controls.push(new ol.control.ShiftDragRotateAndZoom(constraints));