Google map api V3 with HTTPS not working


While using the Google Api forOrg chart generation I came across the error “‘google’ is undefined” when i was testing it in IE 8 browser. The same code was working fine in Mozilla FireFox . Google the error was not able to find solution.  After lots of searching fixed it by doing a small one character change in the URL. Can you guys guess what would be that?

<script type=”text/javascript” src=”http://www.google.com/jsapi”></script>

with

<script type=”text/javascript” src=”https://www.google.com/jsapi”></script>

 

Change : “http:// ” to “https://” 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s