The ZoomToMaxExtent control is a button that zooms out to the maximum extent of the map. It is designed to be used with a OpenLayers.Control.Panel.
| OpenLayers. | The ZoomToMaxExtent control is a button that zooms out to the maximum extent of the map. |
| Properties | |
| type | {String} The type of OpenLayers.Control -- When added to a Control.Panel, ‘type’ is used by the panel to determine how to handle our events. |
| Functions | |
| trigger | Do the zoom. |
{String} The type of OpenLayers.Control -- When added to a Control.Panel, ‘type’ is used by the panel to determine how to handle our events.
Do the zoom.
trigger: function()