Sunday, December 4, 2011

Google maps api: https security error coming in IE

my web page having google direction map using javascript api and I have got https error whenever try to loading graph into my web page in IE.. I have fixed that problem by small code change...

With HTTS ERROR:
<script type="text/javascript" src="https//maps.googleapis.com/maps/api/js?v=3&sensor=false"></script>



FIXED BY: I have removed "https" from the source URL
<script type="text/javascript" src="//maps.googleapis.com/maps/api/js?v=3&sensor=false"></script>

No comments:

Post a Comment