various shenanigans.

Interactive Google Map Web Part for Sharepoint 2010

I needed a way to display an interactive Google Map against a Sharepoint list over SSL. I did a slight modification to Mazin’s great Google Map Web Part on Codeplex.

In MapWebPart.cs – Look for ResolveAddress function and add the following line at the top of function.

ServicePointManager.ServerCertificateValidationCallback = delegate { return true; };

Change the String.Format to HTTPS instead of HTTP.

Add System.Net to the References. Build and Deploy.

Here’s the link to my modified source. the .WSP is in the /bin/release folder.

And the obligatory keywords to make this solution “google-able”:  .Net C# WebClient DownloadString XMLDocument.XML Google Maps Web Part

Close Bitnami banner