Read/write Atom feeds. Create a new instance with the <OpenLayers.Format.AtomFeed> constructor.
OpenLayers. Format.Atom | Read/write Atom feeds. |
Properties | |
feedTitle | {String} Atom feed elements require a title. |
defaultEntryTitle | {String} Atom entry elements require a title. |
xy | {Boolean} Order of the GML coordinate: true:(x,y) or false:(y,x) For GeoRSS the default is (y,x), therefore: false |
Constructor | |
OpenLayers. Format. AtomEntry | Create a new parser for Atom. |
Functions | |
write | Serialize or more feature nodes to Atom documents. |
write: function( features )
Serialize or more feature nodes to Atom documents.
features | a single {OpenLayers.Feature.Vector} or an Array({OpenLayers.Feature.Vector}). |
{String} an Atom entry document if passed one feature node, or a feed document if passed an array of feature nodes.
Serialize or more feature nodes to Atom documents.
write: function( features )