# Using HTTPS with Google Maps

**URL:** <https://community.thinkgeo.com/t/using-https-with-google-maps/2289>\
**Category:** WinForms\
**Created:** [August 26, 2013, 5:19pm UTC](https://community.thinkgeo.com/t/using-https-with-google-maps/2289 "2013-08-26T17:19:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lars](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/l/74df32/32.png) [@Lars](https://community.thinkgeo.com/u/Lars)\
**Post date:** [August 26, 2013, 5:19pm UTC](https://community.thinkgeo.com/t/using-https-with-google-maps/2289/1 "2013-08-26T17:19:25Z")

</div>

Hi  
  
  
  
We&nbsp;are&nbsp;deploying&nbsp;a&nbsp;solution&nbsp;for&nbsp;a&nbsp;client&nbsp;where&nbsp;we&nbsp;make&nbsp;use&nbsp;of&nbsp;ThinkGeo’s&nbsp;integration&nbsp;with&nbsp;Google&nbsp;Map&nbsp;-&nbsp;but&nbsp;are&nbsp;running&nbsp;into&nbsp;problems&nbsp;with&nbsp;our&nbsp;request&nbsp;for&nbsp;Google&nbsp;Map&nbsp;data&nbsp;(apparently)&nbsp;&nbsp;being&nbsp;blocked&nbsp;by&nbsp;a&nbsp;firewall&nbsp;or&nbsp;similar.&nbsp;We&nbsp;have&nbsp;been&nbsp;able&nbsp;to&nbsp;capture&nbsp;the&nbsp;URL&nbsp;ThinkGeo&nbsp;uses&nbsp;when&nbsp;accessing&nbsp;google&nbsp;and&nbsp;have&nbsp;tried&nbsp;the&nbsp;same&nbsp;URL&nbsp;with&nbsp;Internet&nbsp;Explorer&nbsp;and&nbsp;wget.exe.

  
&nbsp;&nbsp;&nbsp;&nbsp;1. The&nbsp;URL&nbsp;succeeds&nbsp;when&nbsp;submitted&nbsp;from&nbsp;Internet&nbsp;Explorer&nbsp;and&nbsp;we&nbsp;end&nbsp;with&nbsp;a&nbsp;nice&nbsp;picture&nbsp;displayed&nbsp;in&nbsp;the&nbsp;browser
  
&nbsp;&nbsp;&nbsp;&nbsp;2. The&nbsp;URL&nbsp;fails&nbsp;when&nbsp;submitted&nbsp;from&nbsp;wget.exe&nbsp;with&nbsp;a&nbsp;connection&nbsp;refused&nbsp;error&nbsp;message
  

  
If&nbsp;we&nbsp;change&nbsp;the&nbsp;URL&nbsp;protocol&nbsp;from&nbsp;HTTP&nbsp;to&nbsp;HTTPS&nbsp;we&nbsp;succeed&nbsp;with&nbsp;both&nbsp;IE&nbsp;and&nbsp;wget.&nbsp;Our&nbsp;question&nbsp;is&nbsp;then&nbsp;if&nbsp;there&nbsp;is&nbsp;a&nbsp;supported&nbsp;method&nbsp;for&nbsp;having&nbsp;ThinkGeo&nbsp;talking&nbsp;with&nbsp;google&nbsp;on&nbsp;HTTPS?&nbsp;(We&nbsp;currently&nbsp;use&nbsp;ThinkGeo&nbsp;6.x)  
  
  
  
Thanks&nbsp;for&nbsp;any&nbsp;assistance  
  
Lars  
  
  
  
PS&nbsp;We&nbsp;could&nbsp;(and&nbsp;maybe)&nbsp;should&nbsp;ask&nbsp;our&nbsp;client&nbsp;to&nbsp;reconfigure&nbsp;their&nbsp;firewall;&nbsp;but&nbsp;if&nbsp;there&nbsp;is&nbsp;a&nbsp;simple&nbsp;way&nbsp;of&nbsp;shifting&nbsp;from&nbsp;HTTP&nbsp;to&nbsp;HTTPS&nbsp;I&nbsp;feel&nbsp;we&nbsp;could&nbsp;save&nbsp;hours&nbsp;or&nbsp;days&nbsp;of&nbsp;discussion

---

<div class="post-metadata">

**Author:** ![Summer1](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/s/c89c15/32.png) [@Summer1](https://community.thinkgeo.com/u/Summer1)\
**Post date:** [August 27, 2013, 1:02am UTC](https://community.thinkgeo.com/t/using-https-with-google-maps/2289/2 "2013-08-27T01:02:14Z")

</div>

Hi&nbsp;Lars,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;for&nbsp;your&nbsp;post,and&nbsp;following&nbsp;code&nbsp;could&nbsp;change&nbsp;http&nbsp;to&nbsp;https:&nbsp;  
&nbsp;&nbsp;  
&nbsp;private&nbsp;void&nbsp;DisplayMap\_Load(object&nbsp;sender,&nbsp;EventArgs&nbsp;e)&nbsp;  
&nbsp;{…&nbsp;  
&nbsp;googleOverlay.SendingWebRequest&nbsp;+=&nbsp;new&nbsp;EventHandler\<SendingWebRequestEventArgs\>(googleOverlay\_SendingWebRequest);&nbsp;  
&nbsp;…&nbsp;  
&nbsp;}&nbsp;  
&nbsp;&nbsp;  
&nbsp;void&nbsp;googleOverlay\_SendingWebRequest(object&nbsp;sender,&nbsp;SendingWebRequestEventArgs&nbsp;e)&nbsp;  
&nbsp;{&nbsp;e.WebRequest&nbsp;=&nbsp;HttpWebRequest.Create(new&nbsp;Uri(e.WebRequest.RequestUri.AbsoluteUri.Replace("http",&nbsp;"https")));&nbsp;}&nbsp;  
&nbsp;&nbsp;  
&nbsp;Hope&nbsp;it&nbsp;helps&nbsp;  
&nbsp;&nbsp;  
&nbsp;Summer
