On May 20, 6:01 am, 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. > > The one thing I have been able to observe is that when the "raw" map2 > is used, the body element gets an attached onload/unload handler, > whereas in the "map1" version this does not happen, perhaps because > the YUI library has already set a class for the background mask on the > body element... > > Lastly, failing to "hide" the previous markup leads to more strange > results. That is, click on map1, refresh, see error, then click on > map2, refresh (skip the hide step in between). This leads to a double > api key error carp, and yet both maps work fine. > > However, in the reverse order both maps work, yet there is no carping. > > The javascript of the map drawing, zooming in etc. is the same in both > cases. Finally, I take care to unload the map by calling GUnload when > the YUI popup is dismissed. >
IE6 reports lots of javascript errors... (including "Operation Aborted") -- Larry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
