Add GeoRSS Point features to your map.
| OpenLayers. Layer. GeoRSS | Add GeoRSS Point features to your map. |
| Properties | |
| location | {String} store url of text file |
| features | {Array(OpenLayers.Feature)} |
| formatOptions | {Object} Hash of options which should be passed to the format when it is created. |
| selectedFeature | {OpenLayers.Feature} |
| icon | {OpenLayers.Icon}. |
| popupSize | {OpenLayers.Size} This determines the size of GeoRSS popups. |
| useFeedTitle | {Boolean} Set layer.name to the first <title> element in the feed. |
| Constructor | |
| OpenLayers. Layer. GeoRSS | Create a GeoRSS Layer. |
| Functions | |
| destroy | |
| loadRSS | Start the load of the RSS data. |
| moveTo | If layer is visible and RSS has not been loaded, load RSS. |
| parseData | Parse the data returned from the Events call. |
| markerClick | |
| clearFeatures | Destroy all features in this layer. |
{Array(OpenLayers.Feature)}
{OpenLayers.Icon}. This determines the Icon to be used on the map for this GeoRSS layer.
{OpenLayers.Size} This determines the size of GeoRSS popups. If not provided, defaults to 250px by 120px.
parseData: function( ajaxRequest )
Parse the data returned from the Events call.
| ajaxRequest | {OpenLayers.Request.XMLHttpRequest} |
destroy: function()
Start the load of the RSS data.
loadRSS: function()
If layer is visible and RSS has not been loaded, load RSS.
moveTo:function( bounds, zoomChanged, minor )
Parse the data returned from the Events call.
parseData: function( ajaxRequest )
markerClick: function( evt )
Destroy all features in this layer.
clearFeatures: function()