Renamed zoomExtent to zoomToFullExtent, added tests for it and for the new lonlat/px convenience functions.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@663 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Schuyler Erle
2006-06-21 17:12:19 +00:00
parent 221aedebc6
commit bf6ad055df
3 changed files with 21 additions and 5 deletions

View File

@@ -137,7 +137,7 @@ OpenLayers.Control.PanZoom.prototype =
this.map.zoomOut();
break;
case "zoomworld":
this.map.zoomExtent();
this.map.zoomToFullExtent();
break;
}