block by pbogden 6301219

OpenLayers & GML

Full Screen

Rendering GML polygons with OpenLayers.

Adapted from: http://openlayers.org/dev/examples/gml-layer.html

-- added <styles> section to index.html and removed links to remote css.
-- removed <body> content, except for the map.

How it works:

-- creates an OpenLayers.Map
-- adds an OpenLayers.Layer.WMS (uses OSGeo WMS)
-- adds an OpenLayers.Layer.Vector (reads polygons from local GML file)

index.html

default.css

index.orig.html

orig.html

polygon.xml

style.css