On Jan 4, 5:07 pm, heinetz <[email protected]> wrote: > > i integrated google-maps on my projekt, generated a key and all > works fine. i develeped on a differeent server than the liveserver > what meens i have to use different api-keys. now i would like to > ckeck the key per js before showing map-functionality and especialy > before the googleapi alerts, that the the key is wrong. i found a > solution ( GValidateKey("xyz");) but how to validate the key before > looding the api with this key. > > any ideas?
You don't validate the key yourself. You specify the right key for the domain of the map. See this recent thread, which references the recommended method. http://groups.google.com/group/google-maps-api/browse_thread/thread/db53a8c51fdb2d90 Andrew -- 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.
