OpenLayers. Control. Navigation

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).

Inherits

Summary
OpenLayers. Control. NavigationThe 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. NavigationCreate a new navigation control

Properties

zoomWheelEnabled

{Boolean} Whether the mousewheel should zoom the map

handleRightClicks

{Boolean} Whether or not to handle right clicks.  Default is false.

Constructor

OpenLayers. Control. Navigation

Create a new navigation control

Parameters

options{Object} An optional object whose properties will be set on the control
Create a new navigation control
Instances of OpenLayers.Map are interactive maps embedded in a web page.
Controls affect the display or behavior of the map.
Close