Get a map with POI from Bing maps RRS feed

  • Question

  • Hi everybody,


    I'm actualy developping a tool for WP7. I tried to get a map from bing with some POI on it like train or metro stations.

    Is it possible to get a map with this information and/or get information with the silverlight control ?



    Tuesday, October 19, 2010 9:43 AM


All replies

  • For Windows Phone 7 you should be using the Silverlight control. For POI data take a look at the Bing Maps Search Service: http://msdn.microsoft.com/en-us/library/cc980960.aspx
    Windows Live Developer MVP - http://rbrundritt.spaces.live.com | http://inknowledge.co.uk
    Tuesday, October 19, 2010 10:03 AM
  • Thanks Richard. It'll help me.


    But actually this is not exactly what I searched.

    My goal is to display a map and on this map I want pushpins. The user of the aplication (me :-) ) will click on the pushpins which he/she is interested and the application will show the user some information about this POI by requesting another webservice.

    Do you see what I mean ?

    So I want to request Bing for a map with pushpins in it and retrieve the collection of the pushpins. I give to bing the geolocalisation and the view level of the map.

    Tuesday, October 19, 2010 11:32 AM
  • After some research, it's impossible. You have to get the result from virtualearth and then add the results in your map control.


    Wednesday, October 20, 2010 7:53 AM
  • Ok, not 100% sure if I understand what you want to do. To confirm, you want to load a bunch of pushpins on the map of a specific type of POI. If you click on that POI you want to get some kind of identifier from it and then use that to retrieve additional information about that POI location. If this is correct then you can use the Search Service. Ideally you would create your own web service in between your app and the Search service to reduce the amount of data that is passed to the user. In this web service I would call the search service using the query that gets the POI your looking for and filter out the location and Business search result ID. Display the pushpins on your map. When a user clicks on a pushpin send the same query and the id to your web service. Perform the same search and then filter through the results and grab the business that has the ID you specified. Return all metadata you want to send back to the user.
    Windows Live Developer MVP - http://rbrundritt.spaces.live.com | http://inknowledge.co.uk
    Wednesday, October 20, 2010 10:46 AM