Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
585
Bing maps stopped supporting SOAP services
posted

Hi,

Our client lost his maps yesterday. He didn't notice that Microsoft shutting down their Bing maps SOAP service.

Hi is using XamMap control and uses Aerial imagery from Bing Maps.

Maybe someone has and idea how to use XamMap with new REST services from Bing Maps ?

Parents
No Data
Reply
  • 34810
    Verified Answer
    Offline posted

    Hello ytrainis,

    In order to use the XamMap with the REST services from Bing Maps, the first things I would recommend are that you take a look at the following articles:

    Get Bing Imagery Data Using REST: https://msdn.microsoft.com/en-us/library/ff701716.aspx.

    Using Bing REST Services in .NET: https://msdn.microsoft.com/en-us/library/jj819168.aspx.

    Using a System.Runtime.Serialization.DataContractJsonSerializer with the information provided in the above articles along with a BingMapsTileSource should allow you to use the REST services from Bing Maps with the XamMap in this case.

    Our WPF control-suite has a Samples Browser where a custom "BingMapsConnector" was created for use with the Bing REST services with the XamGeographicMap, but it works well with the XamMap as well. I have ported this connector to a Silverlight project, and everything appears to work correctly. That sample project is attached to this post to demonstrate to you how these Bing REST services can work with the XamMap.

    Note, you will need to change the const string "key" in the MainPage.xaml.cs to your Bing Maps API key for this sample project to work.

    I hope this helps you. Please let me know if you have any other questions or concerns on this matter.

    Sincerely,
    Andrew
    Associate Developer

    XamMapBingREST.zip
Children