On May 20, 2:01 pm, nunb <[email protected]> wrote:
> Using the same key on the webserver returns an error in one case, and
> does not in another. I took the example code from the demo maps page
> and tweaked it a bit to add zooming to a reasonable level.
>
> The demo page is athttp://fuseki.org:8080/-- it has two "buttons".
> Clicking on "Map 1" and refreshing shows the google API key error.
> Clicking on "Map 2" and refreshing loads google maps ok. (Please click
> on the hide button in each case in between!).
>
> To view the map for Map1 click on the Select textprompt -- a popup
> containing the map canvas appears. The search field works on tab-out,
> and in the popup map case also by clicking on search.

I found this difficult because your CSS is invalid, so Firefox doesn't
follow a lot of it.

However, I did find this in your map script tag:
...file=api&amp;amp;v=2&amp;amp;sensor=false&amp;amp;key=ABQI...

It looks like you use FrontPage or something similar to write your
HTML, and that has ended up double-encoding your &amp; entities and
replaced the & character with &amp; (as well as retaining the amp; you
used)

The result is that only file=api is recognised as a parameter and the
API won't be passed a value for sensor or key.

Whether that is relevant for all the problems you report I can't tell,
but it may give you an idea of what to look at. I would suggest you do
some debugging using Firefox and Firebug.

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to