<P>Ok, so I'm trying to use the ICON tag out of a GeoRSS feed to display the ICONS on the map.</P>
<P>I've added to the /format/georss.js and it returns either the value of the icon path (URL) or NULL back into feature.attributes.icon, </P>
<P> /* Provide icon data and default */<BR> var iconURL = this.getChildValue(item, "*", "icon", this.iconURL);<BR> if(!iconURL) {<BR> iconURL = null;<BR> }</P>
<P>Now I'm stuck at modifying the function in /layer/GeoRSS.js (line 183)...</P>
<P>Anyone that can provide a pointer on how to fix this<BR><BR> data.icon = this.icon == null ? <BR> OpenLayers.Marker.defaultIcon() : <BR> this.icon.clone();</P>
<P>to use the icon in the feature, and the default if none is defined?</P>
<P>I've tried setting OpenLayers.Marker.Icon(feature.attributes.icon); but keep getting an object expected error.</P>
<P>Any help would be appreciated.</P>
<P>Thanks,</P>
<P>Levii</P>