Doesn't work for me... Using the following code, JS, jQuery etc,etc... function initLoader() { var script = document.createElement('script'); if(document.domain == 'XXX') { //internal script.src = 'http://www.google.com/jsapi? key=ABQIAAAAJcLO7GVkF6xNzZuH991YjxV4RRMRXKKn_qHZNJOnoAO8TOSrSfdZg&callback=loadMaps'; } else { script.src = 'http://www.google.com/jsapi? key=ABQIAAAAJxgtrumlbnZq8gQRhEFyP0KABSb7INaq3g50977Ma4e4TYV2nFyIA&callback=loadMaps'; } script.type = 'text/javascript'; document.getElementsByTagName('head')[0].appendChild(script); } function loadMaps() { google.load('maps', '2', {'callback' : buildGoogleMap}); }
-- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to google-maps-...@googlegroups.com. To unsubscribe from this group, send email to google-maps-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.