GeoRSS from Flickr in OpenLayers

georss, style, styling, marker, flickr, thumbnail, image, rule

Display a flickr-feed on top of the map

The displayed GeoRSS feed has a <media:thumbnail/> property for each item. An extended createFeatureFromItem() function is used to add this attribute to the attributes hash of each feature read in by OpenLayers.Format.GeoRSS. The example is configured with a style to render each item with its thumbnail image. Also, to show how rules work, we defined a rule that if the title of an rss item contains "powder", it will be rendered larger than the others.