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
var newl = new OpenLayers.Layer.GeoRSS( 'Yelp GeoRSS', 'yelp-georss.xml',
{'icon':yelp});
>Alan wrote:
>And that:
>
>var newl = new OpenLayers.Layer.GeoRSS( 'Yelp GeoRSS', 'yelp-georss.xml',
{'icon':yelp});
>
>Please see this example:
>http://openlayers.org/dev/examples/georss-markers.html<http://openlayers.org/dev/examples/georss-markers.html>
>
>Alan
>>Marcello Brunaldi wrote:
>>That does not work,
>> It always take the marker default.
>>
> > yelp = new OpenLayers.Icon("blu.png", new OpenLayers.Size(20,29));
>>
>> var options = {
>> 'icon': yelp
>> };
>>
>> new1 = new OpenLayers.Layer.GeoRSS( 'GeoRSS', 'georss.xml', options);
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users