On 14 February 2011 22:52, David Friedman <[email protected]> wrote: > We changed our Domain URL and Generated a new API key but when we run > our application it tells us "this website needs a new Google Maps API > Key. A new key can be generated at... > > I am assuming it is because the site is using the same IP address and > it is causing a conflict. Is there a way to resolve this?
It shouldn't matter about the IP address, but it does depend on how you are accessing the map. That is, the key is a hash of protocol://hostname:port/directory with your Google account. If you are accessing via the IP address instead of the domain name, then they won't match. If you need to implement a choice of different keys for different domain names/ip addresses/whatever, then a search for Michael Geary's elegant solution (search for "michael geary elegant" without the quotes) will yield some useful posts. More detailed and less general advice might be forthcoming if you post a url -- use a service like tinyurl if you want to stop it being indexed for searching. -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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.
