I have used the MSDN and SDK methods for using GeoRSS layers. It renders perfectly in Firefox but for some reason - I have not yet found - it will not render in IE6. Is there some hack or workaround that needs to occur in order for a layer to appear in IE
I am going to post my test code because it is relatively short:
<
html><
head><
title></title><
meta http-equiv="Content-Type" content="application/rss+xml; charset=utf-8"><
script src="http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js"></script><
script> var map = null; var layerid = 1; function GetMap(){
map =
new VEMap('myMap');map.LoadMap();
}
function AddMyLayer(source){
var veLayerSpec = new VELayerSpecification();veLayerSpec.Type = VELayerType.GeoRSS;
veLayerSpec.ID = layerid;
veLayerSpec.LayerSource = source;
veLayerSpec.Method =
'get';veLayerSpec.FnCallback = onFeedLoad;
map.AddLayer(veLayerSpec);
layerid++;
}
function onFeedLoad(feed){
alert(
'RSS or Collection loaded. There are '+ feed.length +' items in this list.');}
</
script></
head><
body onload="GetMap(); AddMyLayer('georsstest.xml');"> <div id='myMap' style="position:relative; width:500px; height:400px;"></div>Loading
<a href="georsstest.xml">georsstest.xml</a></
body></
html>
thanks for any help . . .