metacat/lib/spatial/openlayers/doc/Control.PanZoom.txt @ 4382
1 | 3032 | perry | OpenLayers.Control.PanZoom |
---|---|---|---|
2 | |||
3 | Creates a small toolset for controlling the location of the map with panning and zooming, including four directional arrows, a zoom in and zoom out, and one button which zooms to the max extent of the map. |
||
4 | |||
5 | * Constructor |
||
6 | OpenLayers.Control.PanZoom({Object|options}) -- Creates a new panzoom control. |
||
7 | |||
8 | * Parameters |
||
9 | slideFactor -- Number of pixels by which to slide the map when a pan arrow is clicked. |