From d1d058d30f0b761fb5918c21c625c19d9036591a Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Mon, 28 Jan 2008 21:19:32 +0000 Subject: [PATCH] Removing use of deprecated untiled wms layer from example in favor of layer with singleTile true. (closes #1309) git-svn-id: http://svn.openlayers.org/trunk/openlayers@5923 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/wms-untiled.html | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/examples/wms-untiled.html b/examples/wms-untiled.html index 796cad25a1..ca828a0b93 100644 --- a/examples/wms-untiled.html +++ b/examples/wms-untiled.html @@ -16,8 +16,12 @@ function init(){ map = new OpenLayers.Map( 'map' ); - layer = new OpenLayers.Layer.WMS.Untiled( "OpenLayers WMS", - "http://labs.metacarta.com/wms/vmap0", {layers: 'basic'} ); + layer = new OpenLayers.Layer.WMS( + "OpenLayers WMS", + "http://labs.metacarta.com/wms/vmap0", + {layers: 'basic'}, + {singleTile: true} + ); map.addLayer(layer); map.setCenter(new OpenLayers.LonLat(lon, lat), zoom); @@ -30,15 +34,16 @@
-

- Shows an example of the Untiled wms layer, which requests a single image for the entire map view. -

- +

+ Shows an example of an "untiled" WMS layer, which requests a single + image for the entire map view. +

- -
- An untiled map will only request a single image at a time. -
+
+ An untiled layer will only request a single image at a time. + This is equivalent to using the deprecated + OpenLayers.Layer.WMS.Untiled class, which will be removed at 3.0. +