Ravi Bhartiya
Ravi Bhartiya

Reputation: 299

Google MAP API does not work in https mode

I have integrated Google MAP api into our application using Javascript but unfortunately it does not work in https mode until I click "Show all content" button displays in the bottom of IE. There is no problem with http mode. Please let me know how can I fix it.

Upvotes: 1

Views: 1548

Answers (2)

gbrooksman
gbrooksman

Reputation: 115

If you check the 'Enable Protected Mode' box under Internet Options > Security > Local Intranet this seems to have the effect of allowing the map to display in IE 8 and 9 for users on a corporate network.

This of course seems counter-intuitive, especially given the explanation in this link but it has solved the problem for my users on many occasions. Not ideal, but worth a shot if you can recreate the problem and see if this is the fix.

Upvotes: 0

Nick Andriopoulos
Nick Andriopoulos

Reputation: 10643

are you including the Google MAP script in a protocol agnostic way or just using an http link? if you want to server both, the script pointing to google maps should be

<script src="//maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>

so that either http or https is used.

Upvotes: 2

Related Questions