Hi
I tried this. It seem like you need to 'hack' the Navigation control a bit.
Not that the handler for dragPan is available after it is drawn on the map.
Hope this will help. 

var map;
function init() {
                map = new OpenLayers.Map('map',
                {
                    'controls':[]
                });
                var wms = new OpenLayers.Layer.WMS(
                "OpenLayers WMS",
                "http://vmap0.tiles.osgeo.org/wms/vmap0";,
                {
                    layers: 'basic'
                });
                map.addLayer(wms);
                var navigation = new
OpenLayers.Control.Navigation({'zoomBoxEnabled':false});
                map.addControl( navigation );
                map.zoomToMaxExtent();
                navigation.activate();
                navigation.dragPan.handler.keyMask = 
OpenLayers.Handler.MOD_SHIFT;
}

-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Shift-Dragging-to-pan-tp5789024p5798979.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to