OpenLayers.Control.ZoomToMaxExtent - OpenLayers

# OpenLayers. Control. ZoomToMaxExtent

Implements a very simple button control. Designed to be used with a OpenLayers.Control.Panel.

#### Inherits from

- OpenLayers.Control

Summary

OpenLayers. Control. ZoomToMaxExtent | Implements a very simple button control.
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.

### 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

> trigger: function()

Do the zoom.

Controls affect the display or behavior of the map.

> trigger: function()

Do the zoom.
Close