diff --git a/examples/kamap.html b/examples/kamap.html
index 964613b3c9..8f1cacf235 100644
--- a/examples/kamap.html
+++ b/examples/kamap.html
@@ -27,7 +27,7 @@
map.addLayers([ol_wms, jpl_wms, dm_wms]);
map.addControl(new OpenLayers.Control.LayerSwitcher());
- map.zoomToFullExtent();
+ map.zoomToMaxExtent();
}
// -->
diff --git a/examples/xhtml.html b/examples/xhtml.html
index e93239bebb..54f1a2b8af 100644
--- a/examples/xhtml.html
+++ b/examples/xhtml.html
@@ -11,7 +11,7 @@
var wms = new OpenLayers.Layer.WMS( "OpenLayers WMS",
"http://labs.metacarta.com/wms/vmap0", {layers: 'basic'} );
map.addLayer(wms);
- map.zoomToFullExtent();
+ map.zoomToMaxExtent();