{"id":113,"date":"2011-12-20T02:42:38","date_gmt":"2011-12-19T20:42:38","guid":{"rendered":"http:\/\/markwheeler.com\/wordpress\/?p=113"},"modified":"2011-12-20T02:42:38","modified_gmt":"2011-12-19T20:42:38","slug":"interactive-google-map-web-part-for-sharepoint-2010","status":"publish","type":"post","link":"https:\/\/www.markwheeler.com\/?p=113","title":{"rendered":"Interactive Google Map Web Part for Sharepoint 2010"},"content":{"rendered":"<p>I needed a way to display an interactive Google Map against a Sharepoint list over SSL. I did a slight modification to <a href=\"http:\/\/spgooglemappart.codeplex.com\">Mazin&#8217;s great Google Map Web Part on Codeplex<\/a>.<\/p>\n<p>In MapWebPart.cs &#8211; Look for ResolveAddress function and add the following line at the top of function.<\/p>\n<p>ServicePointManager.ServerCertificateValidationCallback = delegate { return true; };<\/p>\n<p>Change the String.Format to HTTPS instead of HTTP.<\/p>\n<p>Add System.Net to the References. Build and Deploy.<\/p>\n<p>Here&#8217;s the link to my <a href=\"http:\/\/www.markwheeler.com\/binaries\/spgooglemappart-src.zip\">modified source<\/a>. the .WSP is in the \/bin\/release folder.<\/p>\n<p>And the obligatory keywords to make this solution &#8220;google-able&#8221;: \u00a0.Net C# WebClient DownloadString XMLDocument.XML https:\/\/maps.googleapis.com\/maps\/api Google Maps Web Part<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I needed a way to display an interactive Google Map against a Sharepoint list over SSL. I did a slight modification to Mazin&#8217;s great Google Map Web Part on Codeplex. In MapWebPart.cs &#8211; Look for ResolveAddress function and add the following line at the top of function. ServicePointManager.ServerCertificateValidationCallback = delegate [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[2,10,11],"tags":[49,99,121],"class_list":["post-113","post","type-post","status-publish","format-standard","hentry","category-computer","category-sharepoint","category-software","tag-google-maps","tag-sharepoint-2010","tag-web-part"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.markwheeler.com\/index.php?rest_route=\/wp\/v2\/posts\/113","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.markwheeler.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.markwheeler.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.markwheeler.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.markwheeler.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=113"}],"version-history":[{"count":0,"href":"https:\/\/www.markwheeler.com\/index.php?rest_route=\/wp\/v2\/posts\/113\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.markwheeler.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=113"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.markwheeler.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=113"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.markwheeler.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}