[OpenLayers-Users] Problem with marker

Marcello Brunaldi marcello.brunaldi at student.unife.it
Tue Jul 8 04:46:20 EDT 2008


Hello everyone
I have a problem to change the icon and the size of the marker when I use
OpenLayers.Layer.GeoRSS, any size and any icon cheque with OpenLayers.Icon
is not taken.
Show always the marker by default.

This is the code.

yelp = new OpenLayers.Icon("blu.png", new OpenLayers.Size(20,29));
new1 = new OpenLayers.Layer.GeoRSS( 'GeoRSS', 'georss.xml', yelp);
map.addLayers([aste,unesco,punti,new1]);

Marcello Brunaldi.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20080708/2d748269/attachment.html


More information about the Users mailing list