[OpenLayers-Users] GeoRSS Markers

Simo D simone.dalmasso at gmail.com
Thu Jun 28 04:24:01 EDT 2007




Simo D wrote:
> 
> 
> 
> Christopher Schmidt-4 wrote:
>> 
>> On Wed, Jun 27, 2007 at 12:04:45PM -0700, Simo D wrote:
>>> 
>>> Hello,
>>> I'm a beginner in using OpenLayers and I'm developing a web application
>>> wich
>>> allows to visualize some GeoRSS feeds from different sources.
>>> My trouble is that I would like to use different markers for each GeoRSS
>>> layer.
>> 
>> new OpenLayers.Layer.GeoRSS("Name", url, {icon: new OpenLayers.Icon()});
>> 
>> I tried to do this:
>> var events = new OpenLayers.Layer.GeoRSS("events",
>> "http://www.rsoe.hu/hisz/rss/disrss-eng.php",{icon: new
>> OpenLayers.Icon("http://localhost/openlayers/img/marker-gold.png")});
>> 
>> But nothing changes, the marker still remains red.
>> Can you help me to find where is my mistake?
>> Thanks in advance.
>> -- 
>> Christopher Schmidt
>> MetaCarta
>> _______________________________________________
>> Users mailing list
>> Users at openlayers.org
>> http://openlayers.org/mailman/listinfo/users
>> 
>> 
> 

-- 
View this message in context: http://www.nabble.com/GeoRSS-Markers-tf3987473.html#a11339014
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list