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
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
>
--
Alan Boudreault
Mapgears
http://www.mapgears.com
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users