You're trying toload the API twice, and the second time you do so with an empty key string.
var google_api_key = '' Try removing that line. You can also remove the second attempt at loading the API, as long as everything is in the global namespace, which seems to be the case, but there may be other problems because your page does not follow the usual conventions. -- Marcelo - http://maps.forum.nu -- On Apr 23, 3:53 pm, Steve <[email protected]> wrote: > I created a new map for my site that has lots of maps. I insert the > API key I've always used for my site. When I load the page, the map > shows up fine but a dialog box appears with this message: > > "The Google Maps API key used on this web site was registered for a > different web site. You can generate a new key for this web site > athttp://code.google.com/apis/maps/." > > When I click on OK the map disappears. Very odd! Here's the link: > > http://oregonmotorcyclist.com/ridepage.php?page=hwy238 > > Here's a link to a "good" map using the same key: > > http://oregonmotorcyclist.com/ridepage.php?page=hwy47 > > My URL has not changed in the slightest and all the old maps work > fine. Why would I suddenly get this message? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
