MaxExtent example

When defining the maxExtent option, the "zoom to maxextent" button appears. When clicked, the map view gets fit to the defined extent.

With this option set, in addition to the imgPath, the control looks exactly like the OpenLayers.Control.PanZoom in OpenLayers 2.