The above page references the ability to load a GEOrss file.
However the example only shows loading a "collection".
I have followed the code correctly - however when I attempt to load a GEORSS compliant file - it says "0" items have been loaded. Could you provide example page of loading georss
Can you please show the source code exactly like was used for the Interactive SDK (including the link to the geoRSS used - so we can see how the georss xml file was written), as well as how the icons were loaded and the popup layer was structured with pushpin hover.
Thanks

LOADING GEORSS not working
DawnJ
The code is in the interactive SDK and in the VEMap.AddLayer() reference topic (http://msdn.microsoft.com/library/en-us/VEMapControl/HTML/M_Namespace_VEMap_AddLayer.asp frame=true). That code works for both collections and GeoRSS files. And here is the GeoRSS XML file that the Interactive SDK uses for the example: http://dev.live.com/virtualearth/sdk/GeoRssTest.xml.
You might also want to check out the W3C's GeoRSS page for file information: http://www.w3.org/2003/01/geo/
eldiener
Easy fix: just replace your callback function name with 'null' (no quotes):
//Add first layer
function AddMyLayer()
{
var veLayerSpec = new VELayerSpecification(
VELayerType.GeoRSS, //Layer type
"2", //ID - must be unique
"http://www.someaddress.com/file.xml", //source
"get", //download method
null,
"http://www.someaddress.com/file.gif");
map.AddLayer(veLayerSpec);
layerid++;
}
VS2005_evaluator
I was facing similar problem ,it found the following link helpfull
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=602421&SiteID=1
regards
Jatin
MacDara
Higgs Boson
I was curious if there is anyway to show custom icons without having to use a callback
I for the life of me cannot figure it out. Here's my layer:
//Add first layer
function AddMyLayer()
{
var veLayerSpec = new VELayerSpecification(
VELayerType.GeoRSS, //Layer type
"2", //ID - must be unique
"http://www.someaddress.com/file.xml", //source
"get", //download method
fnCallback,
"http://www.someaddress.com/file.gif");
map.AddLayer(veLayerSpec);
layerid++;
}
If I remove the fnCallback, the map will not load the customer icons.....
any ideas
Go easy, i'm a noob! :)
2lazydba