OpenLayers. Layer. GeoRSS

Add GeoRSS Point features to your map.

Inherits from

Summary
Add GeoRSS Point features to your map.
{String} store url of text file
{OpenLayers.Size} This determines the size of GeoRSS popups.
{Boolean} Set layer.name to the first <title> element in the feed.
Create a GeoRSS Layer.
Parse the data returned from the Events call.
Destroy all features in this layer.

Properties

location

{String} store url of text file

features

selectedFeature

icon

{OpenLayers.Icon}.  This determines the Icon to be used on the map for this GeoRSS layer.

popupSize

{OpenLayers.Size} This determines the size of GeoRSS popups.  If not provided, defaults to 250px by 120px.

useFeedTitle

{Boolean} Set layer.name to the first <title> element in the feed.  Default is true.

Constructor

OpenLayers. Layer. GeoRSS

Create a GeoRSS Layer.

Parameters

name{String}
location{String}
options{Object}

Functions

destroy

destroy: function()

parseData

parseData: function(ajaxRequest)

Parse the data returned from the Events call.

Parameters

ajaxRequest{XMLHttpRequest}

markerClick

markerClick: function(evt)

Parameters

evt{Event}

clearFeatures

clearFeatures: function()

Destroy all features in this layer.

Features are combinations of geography and attributes.
The icon represents a graphical icon on the screen.
Instances of this class represent a width/height pair
destroy: function()
parseData: function(ajaxRequest)
Parse the data returned from the Events call.
markerClick: function(evt)
clearFeatures: function()
Destroy all features in this layer.