Silverlight Bing Map Control in SharePoint 2010

In this article we will be seeing how to use Silverlight Bing map control in SharePoint 2010.

Bing Map Developer Account:

Bing Maps Key:

Bing Maps Key should be created to authenticate your Bing Maps application as described in the SDK for the Bing Maps API we are using. If you run the program without providing the valid Bind Maps Key then the map appears in the browser with a message that you have invalid credential appears.

• Select Create or view keys in the Tasks left-hand menu MAP APIs.

BingSilver5.gif


• In the Create key box on the My keys page, provide the following information for the application that will use the Bing Maps key:

BingSilver6.gif
• Click Create key and the new key displays in the list of available keys.
• Refer for more information: http://msdn.microsoft.com/en-us/library/ff428642.aspx


Bing Maps Silverlight Control:

Download the Bing Maps Silverlight Control http://www.microsoft.com/downloads/en/details.aspx. This download includes the Bing Maps Silverlight Control assemblies and an offline version of the Bing Maps Silverlight Control SDK.

Create Silverlight application:

Deploying in SharePoint site:

Output:

With Valid Bing Map Key:

BingSilver11.gif

Without Valid Bing Map Key:

BingSilver12.gif