Project

General

Profile

1 3032 perry
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
        "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-strict.dtd">
3
<html xmlns="http://www.w3.org/1999/xhtml" style="width:100%">
4
<head>
5
<script src="../lib/OpenLayers.js"></script>
6
</head>
7
<body style="width:100%">
8
  <div style="width:100%; height:500px" id="map"></div>
9
  <script defer="defer" type="text/javascript">
10
    var map = new OpenLayers.Map('map');
11
    var wms = new OpenLayers.Layer.WMS( "OpenLayers WMS",
12
        "http://labs.metacarta.com/wms/vmap0", {layers: 'basic'} );
13
    map.addLayer(wms);
14
    map.zoomToMaxExtent();
15
  </script>
16
</body>
17
</html>