[OpenLayers-Users] Markers on GeoRSS layer

Stuart Eve stuarteve at lparchaeology.com
Fri Sep 7 13:01:16 EDT 2007


Dear All

I am attempting to use different markers for my GeoRSS layer. I have tried to replicate the example shown in the 
gallery (http://www.openlayers.org/dev/examples/georss-markers.html). However it just keeps using the default red kite marker.

Does anyone have any ideas?

Thanks

Stuart

Code:

var marker_icon = new OpenLayers.Icon("http://www.fastionline.org:/v2/clarent/0_6/clarent/skins/default/images/dot.png",new OpenLayers.Size(20,29));
var markers = new OpenLayers.Layer.GeoRSS("Sites","http://www.fastionline.org/v2/mapserver/fasti_sites.xml", {'icon':marker_icon});
map.addLayers([markers,wms_cache_layer]);

-- 
Stuart Eve
L - P : Archaeology
stuarteve at lparchaeology.com




More information about the Users mailing list