Search code examples
c#sharepointsharepoint-2010web-partsbing-maps

Adding Controls to a Bing Map Webpart for SP 2010


I am using this WebPart to display Bing Maps, I did lots of research to find out, how can I put controls on it as one shown in picture in link but didn;t find any hint except AJAX might help, can anyone just give me hint to what should I search for to get what i want please.

My Version of Map

Desired Map (Controls in Blue background)

Here is the Code for Webpart

I actually found what I want, and its on this link

Bing AJAX SDK

But I wonder how I can use it in my Webpart as its giving me the source code, but how to use that source for a webpart ?


Solution

  • If you just want the controls on the map, you can set them in the map options when you initialise the map. JS is fine - have a look here