1 <html xmlns="http://www.w3.org/1999/xhtml">
3 <title>OpenLayers GML Layer Example</title>
4 <link rel="stylesheet" href="../../theme/default/style.css" type="text/css" />
5 <link rel="stylesheet" href="../../examples/style.css" type="text/css" />
6 <script src="../../lib/OpenLayers.js"></script>
7 <script type="text/javascript">
14 map = new OpenLayers.Map('map');
15 layer = new OpenLayers.Layer.WMS( "OpenLayers WMS",
16 "http://labs.metacarta.com/wms/vmap0", {layers: 'basic'} );
18 map.zoomToExtent(new OpenLayers.Bounds(-94.617035,33.010025,-89.645401,36.492752));
19 map.addLayer(new OpenLayers.Layer.GML("GML", "arkansas.rss", {format: OpenLayers.Format.GeoRSS}));
23 <body onload="init()">
24 <p>Does this map look like arkansas?</p>
25 <div id="map" class="smallmap"></div>