update example to show gml read/write

git-svn-id: http://svn.openlayers.org/trunk/openlayers@4209 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2007-09-10 22:47:13 +00:00
parent 84498e6d3b
commit c3af58d78c

View File

@@ -76,7 +76,9 @@
formats = {
wkt: new OpenLayers.Format.WKT(),
geojson: new OpenLayers.Format.GeoJSON()
geojson: new OpenLayers.Format.GeoJSON(),
gml: new OpenLayers.Format.GML() //,
//kml: new OpenLayers.Format.KML()
};
map.setCenter(new OpenLayers.LonLat(0, 0), 1);
@@ -144,6 +146,8 @@
<label for="formatType">Format</label>
<select name="formatType" id="formatType">
<option value="geojson" selected="selected">GeoJSON</option>
<!--<option value="kml">KML</option>-->
<option value="gml">GML</option>
<option value="wkt">Well-Known Text (WKT)</option>
</select>
&nbsp;