[OpenLayers-Users] Problem with Marker
Marcello Brunaldi
marcello.brunaldi at student.unife.it
Fri Jul 11 10:13:48 EDT 2008
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);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20080711/3d15013c/attachment.html
More information about the Users
mailing list