OpenLayers JavaScript Mapping Library |
OpenLayers. Format. GeoRSSRead/write GeoRSS parser. Create a new instance with the OpenLayers.Format.GeoRSS constructor. Inherits fromSummary
rssns{String} RSS namespace to use. Defaults to “http://backend.userland.com/rss2" featurens{String} Feature Attributes namespace. Defaults to “http://mapserver.gis.umn.edu/mapserver" georssns{String} GeoRSS namespace to use. Defaults to “http://www.georss.org/georss" geons{String} W3C Geo namespace to use. Defaults to “http://www.w3.org/2003/01/geo/wgs84_pos#" createGeometryFromItem
Return a geometry from a GeoRSS Item. Parameters
Returns{OpenLayers.Geometry} A geometry representing the node. createGeometryFromItemReturn a feature from a GeoRSS Item. Parameters
Returns{OpenLayers.Feature.Vector} A feature representing the item. getChildValue
Parameters
Returns{String} The value of the first child with the given tag name. Returns default value or empty string if none found. write
Accept Feature Collection, and return a string. Parameters
createFeatureXML
Accept an OpenLayers.Feature.Vector, and build a geometry for it. Parameters
Returns{DOMElement} buildGeometryNode
builds a GeoRSS node with a given geometry Parameters
Returns{DOMElement} A gml node. |
Return a geometry from a GeoRSS Item.
createGeometryFromItem: function( item )
getChildValue: function( node, nsuri, name, def )
Accept Feature Collection, and return a string.
write: function( features )
Accept an OpenLayers.Feature.Vector, and build a geometry for it.
createFeatureXML: function( feature )
builds a GeoRSS node with a given geometry
buildGeometryNode: function( geometry )
buildCoordinatesNode: function( geometry )