I get the "wrong key" message, while using same key as page that works fine, same domain.
1. http://www.appliedsolarenergy.com/protractor.html - error 2. http://www.appliedsolarenergy.com/map.html - works fine Linux / Firefox OSX / Firefox xp / internet explorer protractor page was adapted from a demo page. The original used: <script src="protractor_files/key.js"></script> <script> var scriptTag = '<' + 'script src="http://maps.google.com/maps?file=api&v=2.81&key=' + myKey + '">'+'<'+'/script>'; document.write(scriptTag); alert(window.location.host) </script> In key.js I changed key to our key. Key Error. Then I commented this out, and copied from the page that works ok, the following, which still gets the error, on the new page: <script src="http://maps.google.com/maps? file=api&v=2&key=ABQIAAAAFjllh_3e-2aduyeLLOn3whT8Ux8TiByb6ow12BX65- lmTAsJDxRkh_-tSzTIjEK68rBMRBQ5hkbF6w" type="text/javascript"> </script> There is also a key buried in a very long line at the bottom of the page, starting with: <div id="map" style="width..... Changed to our key for this too, and still get error. Commented out and still get error. Then I applied for new key for http://www.appliedsolarenergy.com, and received another (perhaps I was logged in as different google identity, so didn't get the original one back?). That gives error too. I also put 2 versions of a very simple map file up there, one with the old key, one with the new. Neither give errors, although neither shows much either. http://www.appliedsolarenergy.com/map-simpleOldkey.html http://www.appliedsolarenergy.com/map-simpleGoodkey.html So it would seem that there is something about the file protractor.html that it doesn't like. Any ideas? (works fine locally too). Thanks... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
