Read/write GeoRSS parser. Create a new instance with the OpenLayers.Format.GeoRSS constructor.
OpenLayers.
|
Read/write GeoRSS parser. |
Properties | |
rssns | {String} RSS namespace to use. |
featurens | {String} Feature Attributes namespace. |
georssns | {String} GeoRSS namespace to use. |
geons | {String} W3C Geo namespace to use. |
featureTitle | {String} Default title for features. |
featureDescription | {String} Default description for features. |
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.
|
Create a new parser for GeoRSS. |
Functions | |
read | Return a list of features from a GeoRSS doc |
write | Accept Feature Collection, and return a string. |
{String} RSS namespace to use. Defaults to “http://backend.userland.com/rss2”
{String} Feature Attributes namespace. Defaults to “http://mapserver.gis.umn.edu/mapserver”
{String} GeoRSS namespace to use. Defaults to “http://www.georss.org/georss”
{String} W3C Geo namespace to use. Defaults to “http://www.w3.org/2003/01/geo/wgs84_pos#”
read: function( doc )
Return a list of features from a GeoRSS doc
doc | {Element} |
{Array(OpenLayers.Feature.Vector)}
write: function( features )
Accept Feature Collection, and return a string.
features | {Array(OpenLayers.Feature.Vector)} List of features to serialize into a string. |
Return a list of features from a GeoRSS doc
read: function( doc )
Accept Feature Collection, and return a string.
write: function( features )