[OpenLayers-Users] Problem with marker

Alan Boudreault aboudreault at mapgears.com
Wed Jul 9 07:46:50 EDT 2008


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
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>   


-- 
Alan Boudreault
Mapgears
http://www.mapgears.com




More information about the Users mailing list