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 <title>WFS: United States (GeoServer)</title>
6 <script src="../lib/OpenLayers.js"></script>
7 <script type="text/javascript">
11 OpenLayers.ProxyHost="proxy.cgi?url=";
12 map = new OpenLayers.Map('map', {controls: [ new OpenLayers.Control.PanZoom(), new OpenLayers.Control.Permalink(), new OpenLayers.Control.MouseDefaults() ]} );
13 layer = new OpenLayers.Layer.WMS( "OpenLayers WMS",
14 "http://labs.metacarta.com/wms-c/Basic.py",
18 layer = new OpenLayers.Layer.WFS( "States WFS",
19 "http://sigma.openplans.org/geoserver/ows",
20 { typename: 'topp:states' } );
23 map.zoomToExtent(new OpenLayers.Bounds(-140.444336,25.115234,-44.438477,50.580078));
27 <body onload="init()">
28 <h1 id="title">WFS United States (GeoServer) Example</h1>
34 Shows the use of the WFS United States (GeoServer)
37 <div id="map" class="smallmap"></div>