]> dev.renevier.net Git - syp.git/blob - openlayers/examples/lite.html
reset openlayers directory to its original state at the end of build.sh
[syp.git] / openlayers / examples / lite.html
1 <html xmlns="http://www.w3.org/1999/xhtml">
2   <head>
3     <title>OpenLayers Basic Single WMS Example</title>
4     <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
5     <link rel="stylesheet" href="style.css" type="text/css" />
6     <script src="../lib/OpenLayers.js"></script>
7     <script type="text/javascript">
8         var map, layer;
9         function init(){
10             map = new OpenLayers.Map( 'map' );
11             layer = new OpenLayers.Layer.WMS( "OpenLayers WMS",
12                     "http://labs.metacarta.com/wms/vmap0",
13                     {layers: 'basic'} );
14             map.addLayer(layer);
15             map.zoomToMaxExtent();
16         }
17     </script>
18   </head>
19   <body onload="init()">
20     <h1 id="title">Basic Single WMS Example</h1>
21
22     <div id="tags"></div>
23
24     <div id="shortdesc">Show a Simple Map</div>
25
26     <div id="map" class="smallmap"></div>
27
28     <div id="docs">
29         This example shows a very simple layout with minimal controls.  This example uses a single WMS base layer.
30     </div>
31   </body>
32 </html>