stop using deprecated functions in examples and tests

git-svn-id: http://svn.openlayers.org/trunk/openlayers@1244 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-08-16 17:11:24 +00:00
parent c5223b4579
commit 5a68e0ffe0
3 changed files with 3 additions and 3 deletions

View File

@@ -86,7 +86,7 @@
t.eq( map.getZoom(), 5, "map.zoom is correct after calling zoomTo" );
/**
map.zoomToMaxExtent();
t.eq( map.getZoom(), 2, "map.zoom is correct after calling zoomToFullExtent" );
t.eq( map.getZoom(), 2, "map.zoom is correct after calling zoomToMaxExtent" );
var lonlat = map.getCenter();
var zero = new OpenLayers.LonLat(0, 0);
t.ok( lonlat.equals(zero), "map center is correct after calling zoomToFullExtent" );