OpenLayers. Format. GeoRSS

Read/write GeoRSS parser.  Create a new instance with the OpenLayers.Format.GeoRSS constructor.

Inherits from

Summary
Read/write GeoRSS parser.
{String} RSS namespace to use.
{String} Feature Attributes namespace.
{String} GeoRSS namespace to use.
{String} W3C Geo namespace to use.
{String} Default title for features.
{String} Default description for features.
Create a new parser for GeoRSS.
Accept Feature Collection, and return a string.

Properties

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#"

featureTitle

{String} Default title for features.  Defaults to “Untitled”

featureDescription

{String} Default description for features.  Defaults to “No Description”

Constructor

OpenLayers. Format. GeoRSS

Create a new parser for GeoRSS.

Parameters

options{Object} An optional object whose properties will be set on this instance.

Functions

write

write: function(features)

Accept Feature Collection, and return a string.

Parameters

featuresArray({OpenLayers.Feature.Vector}) List of features to serialize into a string.
write: function(features)
Accept Feature Collection, and return a string.
Create a new parser for GeoRSS.
Read and write XML.
Vector features use the OpenLayers.Geometry classes as geometry description.