OpenLayers OpenLayers

Changeset 9901

Show
Ignore:
Timestamp:
12/16/09 18:38:13 (9 months ago)
Author:
tschaub
Message:

Adding an Atom parser. Thanks sgillies for the patch (and patience). r=me (closes #1366)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/examples/vector-formats.html

    r9480 r9901  
    7979                gml2: new OpenLayers.Format.GML.v2(gmlOptionsIn), 
    8080                gml3: new OpenLayers.Format.GML.v3(gmlOptionsIn), 
    81                 kml: new OpenLayers.Format.KML(kmlOptionsIn) 
     81                kml: new OpenLayers.Format.KML(kmlOptionsIn), 
     82                atom: new OpenLayers.Format.Atom(in_options) 
    8283              },  
    8384              'out': { 
     
    8788                gml2: new OpenLayers.Format.GML.v2(gmlOptionsOut), 
    8889                gml3: new OpenLayers.Format.GML.v3(gmlOptionsOut), 
    89                 kml: new OpenLayers.Format.KML(out_options) 
     90                kml: new OpenLayers.Format.KML(out_options), 
     91                atom: new OpenLayers.Format.Atom(out_options) 
    9092              }  
    9193            }; 
     
    184186            <select name="formatType" id="formatType"> 
    185187                <option value="geojson" selected="selected">GeoJSON</option> 
     188                <option value="atom">Atom</option> 
    186189                <option value="kml">KML</option> 
    187190                <option value="georss">GeoRSS</option> 
  • trunk/openlayers/lib/OpenLayers.js

    r9898 r9901  
    222222            "OpenLayers/Format/GML/v2.js", 
    223223            "OpenLayers/Format/GML/v3.js", 
     224            "OpenLayers/Format/Atom.js", 
    224225            "OpenLayers/Format/KML.js", 
    225226            "OpenLayers/Format/GeoRSS.js", 
  • trunk/openlayers/tests/list-tests.html

    r9898 r9901  
    4747    <li>Filter/Spatial.html</li> 
    4848    <li>Format.html</li> 
     49    <li>Format/Atom.html</li> 
    4950    <li>Format/ArcXML.html</li> 
    5051    <li>Format/ArcXML/Features.html</li>