<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>&nbsp;&nbsp;/* Provide icon data and default */<BR>&nbsp;&nbsp;var iconURL = this.getChildValue(item, "*", "icon", this.iconURL);<BR>&nbsp;&nbsp;if(!iconURL) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;iconURL = null;<BR>&nbsp;&nbsp;}</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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; data.icon = this.icon == null ? <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OpenLayers.Marker.defaultIcon() : <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>