From 7d810b47d1549bb428899c4524602f3124bfe31d Mon Sep 17 00:00:00 2001 From: crschmidt Date: Tue, 27 Jun 2006 23:47:28 +0000 Subject: [PATCH] Change zoomToFullExtent to zoomToMaxExtent. git-svn-id: http://svn.openlayers.org/trunk/openlayers@810 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/ciesin.html | 2 +- examples/click.html | 2 +- examples/controls.html | 2 +- examples/example.html | 2 +- examples/markerResize.html | 2 +- examples/markers.html | 2 +- examples/markersTextLayer.html | 2 +- examples/markerss.html | 2 +- examples/popups.html | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/ciesin.html b/examples/ciesin.html index 51bcb5f95b..b10e9a44c3 100644 --- a/examples/ciesin.html +++ b/examples/ciesin.html @@ -28,7 +28,7 @@ map.addLayers([ol_wms, jpl_wms, cie_wms]); map.addControl(new OpenLayers.Control.LayerSwitcher()); // map.setCenter(new OpenLayers.LonLat(0, 0), 0); - map.zoomToFullExtent(); + map.zoomToMaxExtent(); } // --> diff --git a/examples/click.html b/examples/click.html index 2492a4fef9..909c7010f6 100644 --- a/examples/click.html +++ b/examples/click.html @@ -25,7 +25,7 @@ map.addLayers([ol_wms, jpl_wms]); map.addControl(new OpenLayers.Control.LayerSwitcher()); // map.setCenter(new OpenLayers.LonLat(0, 0), 0); - map.zoomToFullExtent(); + map.zoomToMaxExtent(); map.events.register("click", map, function(e) { var lonlat = map.getLonLatFromViewPortPx(e.xy); alert("You clicked near " + lonlat.lat + " N, " + diff --git a/examples/controls.html b/examples/controls.html index af0b0e6e61..b2382cc2ca 100644 --- a/examples/controls.html +++ b/examples/controls.html @@ -35,7 +35,7 @@ map.addControl(new OpenLayers.Control.MouseToolbar()); map.addControl(new OpenLayers.Control.LayerSwitcher()); // map.setCenter(new OpenLayers.LonLat(0, 0), 0); - map.zoomToFullExtent(); + map.zoomToMaxExtent(); } // --> diff --git a/examples/example.html b/examples/example.html index 7898d521d1..e570f7113f 100644 --- a/examples/example.html +++ b/examples/example.html @@ -32,7 +32,7 @@ map.addLayers([ol_wms, jpl_wms, dm_wms]); map.addControl(new OpenLayers.Control.LayerSwitcher()); // map.setCenter(new OpenLayers.LonLat(0, 0), 0); - map.zoomToFullExtent(); + map.zoomToMaxExtent(); } // --> diff --git a/examples/markerResize.html b/examples/markerResize.html index 6d1960d32c..a32b3201da 100644 --- a/examples/markerResize.html +++ b/examples/markerResize.html @@ -33,7 +33,7 @@ new OpenLayers.Marker(new OpenLayers.LonLat(-180,90), icon)); map.addControl(new OpenLayers.Control.LayerSwitcher()); - map.zoomToFullExtent(); + map.zoomToMaxExtent(); } function resize() { diff --git a/examples/markers.html b/examples/markers.html index 35a87a8153..a06f0fcafc 100644 --- a/examples/markers.html +++ b/examples/markers.html @@ -33,7 +33,7 @@ marker.events.register('mousedown', marker, function(evt) { alert(this.icon.url); Event.stop(evt); }); markers.addMarker(marker); map.addControl(new OpenLayers.Control.LayerSwitcher()); - map.zoomToFullExtent(); + map.zoomToMaxExtent(); } // --> diff --git a/examples/markersTextLayer.html b/examples/markersTextLayer.html index 0bb20eb7db..bc6cd49fa3 100644 --- a/examples/markersTextLayer.html +++ b/examples/markersTextLayer.html @@ -24,7 +24,7 @@ map.addLayer(newl); map.addControl(new OpenLayers.Control.LayerSwitcher()); - map.zoomToFullExtent(); + map.zoomToMaxExtent(); } // --> diff --git a/examples/markerss.html b/examples/markerss.html index dc4db92b64..55c62d7cc7 100644 --- a/examples/markerss.html +++ b/examples/markerss.html @@ -35,7 +35,7 @@ map.addLayer(markers); map.addControl(new OpenLayers.Control.LayerSwitcher()); - map.zoomToFullExtent(); + map.zoomToMaxExtent(); } function changer() { diff --git a/examples/popups.html b/examples/popups.html index 0f16a65936..5d0a813055 100644 --- a/examples/popups.html +++ b/examples/popups.html @@ -21,7 +21,7 @@ map.addLayer(layer); map.addControl(new OpenLayers.Control.LayerSwitcher()); - map.zoomToFullExtent(); + map.zoomToMaxExtent(); } function changer() {