Converting from Google Maps

I have a map here - www.ukmartin.com/googlemaps/uk.html

It features a set of pins in the map which have their latitides and longitudes listed in an XML document.

Is there an easy way to use the same design of map pin and the XML data in a Live Map (see http://www.ukmartin.com/googlemaps/stadia.xml)

Thanks in advance for your assistance

Martin




Answer this question

Converting from Google Maps

  • Nick K.

    Right well there are two features that you have to be willing to cope with in going GeoRSS:

    1) Auto-zoom feature on the layer when its added to the map

    2) Less control of the layer:  You can only turn the layer on or off.  That means that you have no control of the pins inside the layer.  That includes not being able to add events to the pins and changing the images

  • jerjer

    I'd recommend you write a separate application that converts the file to GeoRSS format.  You already have what it needs (lat/longs) so your pretty much set.  More information on GeoRSS here:

    http://dev.live.com/virtualearth/sdk/ref/HTML/WorkingWithLayers.htm

    Don't forget to provide the image link in the file as well

  • bukittimah

    Sorry Derek,

    I was still fired up after the frustration that Tom is clearly having with GeoRSS.

    I read the question again and yes GeoRSS is a really simple way to get the pins on the map with your above points.

    If I had a choice to spend my time making a xml transformation or simply parsing the existing xml I would go down the parsing route.

    John.



  • Mitch84095

    Hi Martin,

    You might want to have a look at Mapstraction. I know its says it still in dev, but reading the mailing lists, i think it's pretty robust for point data.

    Rob

  • Object01

    How can you recommend GeoRSS knowing full well the issues everyone is having with that in VE Derek

    If you want a really simplistic way to put a couple of points on the map then go down this path of GeoRSS.

    Otherwise if you need a bit more control then parse your exisiting xml document:

    http://www.webreference.com/programming/javascript/definitive2/index.html

    and for each "stadium" create a new pin with your custom details using the normal "add a pin" javascript from the iSDK:

    http://dev.live.com/virtualearth/sdk/

    maybe we need someone with some js experience to write a few examples of how to do this

    John.



  • Converting from Google Maps