Full read/write support for KML. All KML 2.1 geometries supported. All OL geometries supported (closes #927).

git-svn-id: http://svn.openlayers.org/trunk/openlayers@4219 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2007-09-11 15:18:42 +00:00
parent abeecc555a
commit 65f6830448
3 changed files with 608 additions and 157 deletions
+3 -3
View File
@@ -77,8 +77,8 @@
formats = {
wkt: new OpenLayers.Format.WKT(),
geojson: new OpenLayers.Format.GeoJSON(),
gml: new OpenLayers.Format.GML() //,
//kml: new OpenLayers.Format.KML()
gml: new OpenLayers.Format.GML(),
kml: new OpenLayers.Format.KML()
};
map.setCenter(new OpenLayers.LonLat(0, 0), 1);
@@ -146,7 +146,7 @@
<label for="formatType">Format</label>
<select name="formatType" id="formatType">
<option value="geojson" selected="selected">GeoJSON</option>
<!--<option value="kml">KML</option>-->
<option value="kml">KML</option>
<option value="gml">GML</option>
<option value="wkt">Well-Known Text (WKT)</option>
</select>