1 <html xmlns="http://www.w3.org/1999/xhtml">
3 <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
4 <link rel="stylesheet" href="style.css" type="text/css" />
5 <script src="../lib/OpenLayers.js"></script>
6 <script type="text/javascript">
13 map = new OpenLayers.Map( 'map' );
14 layer = new OpenLayers.Layer.WMS(
16 "http://labs.metacarta.com/wms/vmap0",
22 map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);
23 map.addControl( new OpenLayers.Control.LayerSwitcher() );
27 <body onload="init()">
28 <h1 id="title"> WMS Untiled Example</h1>
33 Shows an example of an "untiled" WMS layer, which requests a single
34 image for the entire map view.
36 <div id="map" class="smallmap"></div>
38 An untiled layer will only request a single image at a time.
39 This is equivalent to using the deprecated
40 OpenLayers.Layer.WMS.Untiled class, which will be removed at 3.0.