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 ?
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,AndrewAssociate Developer
Hello Andrew,
I very appreciate your answer. I will try to implement the solution according to your recommendation.
Thank you very much