1
<html xmlns="http://www.w3.org/1999/xhtml">
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">
10
map = new OpenLayers.Map( 'map' );
11
layer = new OpenLayers.Layer.WMS( "OpenLayers WMS",
12
"http://labs.metacarta.com/wms/vmap0",
15
map.zoomToMaxExtent();
19
<body onload="init()">
20
<h1 id="title">Basic Single WMS Example</h1>
24
<div id="shortdesc">Show a Simple Map</div>
26
<div id="map" class="smallmap"></div>
29
This example shows a very simple layout with minimal controls. This example uses a single WMS base layer.