Hey Boye, Make sure when you get the key you get it for http://yourdomain.com and not http://www.yourdomain.com because if you're logging into a different subdomain the key could be wrong. If that's not the issue, it might have something to do with how you are doing the password protection. The API pulls files in from the google server, if what you're doing stops this in any way, the map could fail to load. Also just make sure that you aren't loading your test server swfs with your test server keys to your production site, because it obviously won't work. Also make sure you wipe your cache when testing stuff as well to make sure things are being updated correctly.
Jonathan ScribbleMaps.com On Aug 17, 4:35 am, Boye <[email protected]> wrote: > I'm currently developing a large flash based site, which uses Google > Maps API for showing historical events on a map. > The site is based on our own flash CMS, where the administrators can > create new markers, and update the existing on the map. I have read > the FAQ and TOS carefully, but I'm still not quite if we can use > Google Maps in the admin interface. > > In the FAQ it says: > > Can I use the Google Maps APIs on a site that is password protected? > > Yes, you can, though you should consult the Terms of Service > before using the Google Maps APIs on a password protected website. > [...] if the purpose of the password protected map is to enhance the > publicly available map (ie. administration), then your site is likely > within the Terms of Service. > > However, whenever we enable password protection for the CMS, the map > can not load. It shows the message: > Initialization failed: please check the API key, swf location, version > and network availability. > > I have checked the API key, which is correct for the domain, and it > appears both locally and on our test domain, when the login is > disabled. > > Is there a special parameter I've missed somewhere, or is it simply > not possible to use in password protected pages afterall? -- You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" 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-for-flash?hl=en.
