Microsoft's Bing Map control on Windows Phone 7 let people confused : There are multiple articles about them, but which one is the newest information ? Do the programmers need to install "Bing Maps Silverlight Control " or not ?
See here, another Microsoft Official page: Using the Silverlight Map Control on Windows Phone 7, we can not find any information to install Bing Maps Silverlight Control, but it just says:
Download the Windows Phone Developer Tools from App Hub. This download includes the Microsoft.Phone.Controls.Maps.dll, which contains the API for the Bing Maps Silverlight Control for Windows Phone. You also need to install the Windows Phone Developer Tools October 2010 Update from the Microsoft Download Center.
It means If you installed Windows Phone Developer Tools, you get a API for Bing Map Silverlight Control for Windows Phone.
But the question is: Where is the** Bing Map Silverlight Control for Windows Phone** ? Before we only knew Bing Map Silverlight Control** for Desktop**, Are they the same ?
Here a web page: Bing Maps Silverlight Control for Windows Phone says:
Especially note that the namespace names of the Bing Maps Silverlight Control for Windows Phone are different than the names of the desktop version of the control. The map control for Windows Phone has the following namespaces: Microsoft.Phone.Controls.Maps, Microsoft.Phone.Controls.Maps.AutomationPeers, Microsoft.Phone.Controls.Maps.Core, Microsoft.Phone.Controls.Maps.Design, Microsoft.Phone.Controls.Maps.Overlays, and Microsoft.Phone.Controls.Maps.Platform.
So all information which we gotten by now indicates: Bing Map Silverlight Control for Windows Phone must be different than Bing Map Silverlight Control Desktop version. the desktop version normally downloaded from here: **Bing Maps Silverlight Control SDK **;
But the question is still: Where is Bing Map Silverlight Control for Windows Phone ?
OK, actually, we have already gotten answer from above content: After you installed Windows Phone Developer Tools from App Hub, you have already installed Bing Map Silverlight Control for Windows Phone for your Visual Studio.
Go back to your Visual Studio 2010, check your ToolBox, you can see the Map control has already been there:
In Additional, Let us check the namespaces difference when you write your code:
For Windows Phone 7 Bing Map App: using Microsoft.Phone.Controls; (actually Microsoft.Phone.Controls.Maps )
For Desktop Bing Map App: ** using Microsoft.Maps.MapControl;**
Below there are related links: