The navigation control handles map browsing with mouse events (dragging, double-clicking, and scrolling the wheel). Create a new navigation control with the OpenLayers.Control.Navigation control.
Note that this control is added to the map by default (if no controls array is sent in the options object to the OpenLayers.Map constructor).
OpenLayers. Control. Navigation | The navigation control handles map browsing with mouse events (dragging, double-clicking, and scrolling the wheel). |
Properties | |
zoomWheelEnabled | {Boolean} Whether the mousewheel should zoom the map |
handleRightClicks | {Boolean} Whether or not to handle right clicks. |
Constructor | |
OpenLayers. Control. Navigation | Create a new navigation control |