Default Controls
If the user does not specify a 'controls' array, the following are the controls that are added:
- Control/Navigation -- Provides basic mousing events for dragging and zooming the map.
- Control/PanZoom -- Basic Pan N,E,S,W and Zoom In/Out/Max buttons.
- Control/ArgParser -- Parses arguments from the location bar to set center/zoom/layers on page load
- Control/Attribution -- Add attribution from layers to the map display.
If the user wishes no controls at all to be added to the Map, an empty array should be passed in as the 'controls' array.
Ex:
map = new OpenLayers.Map( $('map'), {controls: [] } );
If using the MouseToolbar control, you should do the following:
map = new OpenLayers.Map( $('map'), {controls: [new OpenLayers.Control.PanZoom(), new OpenLayers.Control.MouseToolbar()] } );
