On May 19, 11:35 am, "[email protected]" <[email protected]> wrote:
> I am having problems getting the map to work.
>
> I get the error message: 'The Google Maps API server rejected your
> request.   This could be because the API key used on this site was
> registered for a different web site.   You can generate a new key for
> this website at %1$s.'
>
> The address 
> is:http://www.stephen.worcesterguitar.co.uk/wcgo/wcgo-rehearsals.php

I don't get that error on that page.

>
> I have tried generating all manner of API keys for local and remote
> server variations and none work.
>
> I have tried stopping XAMPP (Apache and MySql) to see if that made any
> difference - it didn't.
>
> I have tried it with sensor=false (it is not a mobile site) and I have
> tried it without - I was careful to use the appropriate &amp and
> semicolons.
>
> The site was installed using Web Assists 'Dreamweaver Tools
> for Google 2' - their technical support looked at my generated API
> keys and concluded they were correct, and therefore unable to assist
> further.   He recommended I contact you guys.

The problem I see is with their stuff.

The div with id waft_map_1 doesn't exist when the wagt_map_1()
function runs.

so this test causes it to return false and not run any of the code to
create the map...
    if(!document.getElementById('wagt_map_1')) return false;

If I type this in the address bar (after the page is rendered and the
map div exists):
javascript:wagt_map_1();

I see a map...

  -- Larry

>
> I am using Dreamweaver CS4 and testing on IE7, Google Chrome, Firefox,
> Opera and Safari.   As well as the localhost.
>
> I am really stumped with this one, I have been altering the code in
> the HTML:
>
> <script type="text/javascript" src="http://maps.google.com/maps?
> file=api&v=2&key=ABQIAAAAKImuJ6Z_l62eUo6I9oty9BQjAA6YKIPwqNi2Dw_6PxbrDDCCqh­QHJMeI4g4Bd_IB3QBXg_uQ1dZhug">/
> *wagt*/</script>
>
> Should I be altering any code in the javascript files?   [wagt_maps.js
> and wagt_maps_1.js]
>
> Thanks,
>
> Stephen
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to