[OpenLayers-Commits] r4209 - trunk/openlayers/examples
commits at openlayers.org
commits at openlayers.org
Mon Sep 10 18:47:15 EDT 2007
Author: tschaub
Date: 2007-09-10 18:47:13 -0400 (Mon, 10 Sep 2007)
New Revision: 4209
Modified:
trunk/openlayers/examples/vector-formats.html
Log:
update example to show gml read/write
Modified: trunk/openlayers/examples/vector-formats.html
===================================================================
--- trunk/openlayers/examples/vector-formats.html 2007-09-10 22:43:47 UTC (rev 4208)
+++ trunk/openlayers/examples/vector-formats.html 2007-09-10 22:47:13 UTC (rev 4209)
@@ -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>
More information about the Commits
mailing list