OpenLayers is hard-coded to use the left mouse button for dragging.

https://github.com/openlayers/openlayers/blob/master/lib/OpenLayers/Handler/Drag.js#L153

You'll have to modify this handler to accept the middle mouse button as well
and then modify the (DragPan?) control to tell the drag handler you want
middle mouse button support as well.

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/scroll-wheel-zooming-and-middle-button-pan-tp5139883p5139897.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to