I tryed this code but also this doesn't work it continues to take marker as default,I have also considered your example but it isn't useful to solve my problem <br><br>var newl = new OpenLayers.Layer.GeoRSS( 'Yelp GeoRSS', 'yelp-georss.xml', {'icon':yelp});<br>
<br>>Alan wrote:<br>>And that:<br>
><br>>var newl = new OpenLayers.Layer.GeoRSS( 'Yelp GeoRSS', 'yelp-georss.xml', {'icon':yelp});<br>
><br>>Please see this example:<br>
<a href="http://openlayers.org/dev/examples/georss-markers.html" target="_blank">>http://openlayers.org/dev/examples/georss-markers.html</a><br>
><br>>Alan<br><br>>>Marcello Brunaldi wrote:<br>
>>That does not work,<br>
>> It always take the marker default.<br>
>><br>
> > yelp = new OpenLayers.Icon("blu.png", new OpenLayers.Size(20,29));<br>
>><br>
>> var options = {<br>
>> 'icon': yelp<br>
>> };<br>
>><br>
>> new1 = new OpenLayers.Layer.GeoRSS( 'GeoRSS', 'georss.xml', options);