Hi,
I am in a process of developing a website using virtual earth that displays data from my database on Virtual earth Map. From the VE SDK i learnt that this can be achieved by Layers. But didnt not really understand how to implement it. Could some one help me in doing the same or provide a sample code that will help me.
Email: madhu.gandhi@patni.com.
Thanks and regards,
Madhu.

Adding Layers to the Map
Kent Boogaart
Test that your xml file is accessable through a browser.
I didn't think you had to with geoRSS, but it may have to be in a website, so that is a virtual directory in IIS for example.
Eventualy you would have to have your xml file hosted somewhere anyway.
John.
cshea
I like this article
http://channel9.msdn.com/Showpost.aspx postid=182077
John.
gapipro
Ah my recommended solution to the "lots of points" problem is a mixture of only showing what is currently visible and clustering.
http://viavirtualearth.com/VVE/Articles/Clustering.ashx
That article is quite old and i hope to do an update in the next few weeks. Basically if the performance limitation of the browser is you can only show 200 pins on one screen then if your zoomed in far enough it isn't a problem but as you zoom out I make a cluster that represents multiple points. The idea is simple enough. But i have tweaked it over the last few months. You can do some pretty cool things with the information you display on a cluster.
John.
mbp
Hi,
I want to develop a section on my website divided into (about 6) neighborhoods that will cover about 40 miles using MS Virtual Earth map. I want to add layers to display local restuarants, schools, grocery stores, golf courses, hotels, etc. Two questions:
Thank you,
Kimberly
brohans
Hey John
The video is very helpful. Thanks a lot for the quick response. I have approx. 6000 locations to be plotted on the map. would it be advisable to use Pushpins for doing this or should i be doing it with Layers . Also would be developing the website with Java. Is there a similar help available on VE with JAVA
Thanks.
avalancheseah
Spot on. If you simply want to get it going then use local.live.com
The geoRSS format is really simple, have a search to find to an example. It is an XML document that has two nodes for lat/lon. If you can get your data into this format then the interactive sdk gives you the basic code to hide/add layers.
From a community point of view I can see it would be great to put together some extentions to compliment the SDK to show how to get what is a rather basic application up. All i can say is stay tuned, something is on the way.
John.
NoEgo
I think, I've found the answers. (Sorry if this is too basic) From what I understand there are 2 ways to do this :
Any ideas where to find someone who knows how to do a project like this
Thank you for any other suggestions,
Kimberly
xkx32
I have worked also with GeoRss Layers and I have some expierence with a lot of points (around 4500). But the script was to heavy. In internet explorer the page crashed constantly. The best result i get in Firefox (but even then there were some javascript continue-stops => when you have to select 'ok' to continue processing your javascript) .
If you should succeed to add 6000 points all at once without any problem please contact me ;)
Best regards,
Kurt Landuyt
diver182
Our MapDotNet Server 2007 product (available within the next couple of months) supports connecting to your spatial DB and overlaying a map image on top of a VE tile. To take it a step further, you can configure the symbology of your layers, display the in a Table of Content, perform complex spatial queries and much more.
Check this demo out... http://server1.ischosting.net/elections/electionsdemo.aspx
Click the 'Drag a circle for voter demographics' link and draw a radius on the map. A query is made directly to our spatial db (PostGresSQL with PostGIS) and returns the number of Dems and Reps in the radius. Please check our product site for more details... www.goisc.com\products.htm
MapDotNet Server is a set of server controls (for Visual Studio 2005) and web services that render tiles for overlay on top of VE. So, you would have to make an investment in Visual Studio (but it's worth it)
Benton
svxtc
I copied the sample RSS available in the SDK (http://dev.live.com/virtualearth/sdk/GeoRssTest.xml) onto my local machine. Kept it on a server and gave the path of the xml in the layer source. But it didnot work. i got an error saying "Unable to load the file". Am i doing anything wrong However if i change the source to http://dev.live.com/virtualearth/sdk/GeoRssTest.xml it works perfectly fine.