Hello All,

I am using the Google Maps API on a secure web page which results in
the browser throwing up a warning regarding the page containing secure
and insecure items (the precise warning depends on the browser).

What can I do to avoid this warning.  I had thought that a simple
solution would be to load the maps API script in document onload (I am
using jQuery)


 var head = $('head')[0];
 var newScript = document.createElement('script');
 newScript.type = 'text/javascript';
 newScript.src = 'http://maps.google.com/maps/api/js?sensor=false';
head.appendChild(newScript);

but this appears to result in an undefined object error when I later
try to use the maps API.

I'd much appreciate any help with this.  I should say that the option
of using the Premium version of this API is probably not an affordable
one :-(

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to