Add GeoRSS Point features to your map.
| ALKMaps. | Add GeoRSS Point features to your map. |
| Properties | |
| location | {String} store url of text file |
| features | {Array(ALKMaps.Feature)} |
| formatOptions | {Object} Hash of options which should be passed to the format when it is created. |
| selectedFeature | {ALKMaps.Feature} |
| icon | {ALKMaps.Icon}. |
| popupSize | {ALKMaps.Size} This determines the size of GeoRSS popups. |
| useFeedTitle | {Boolean} Set layer.name to the first <title> element in the feed. |
| Constructor | |
| ALKMaps. | 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(ALKMaps.Feature)}
{ALKMaps.Icon}. This determines the Icon to be used on the map for this GeoRSS layer.
{ALKMaps.Size} This determines the size of GeoRSS popups. If not provided, defaults to 250px by 120px.
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()