Thanks for your answer Rossko, but it is still not working. I am getting an error message only on Internet Explorer and it says that there is an error on line 28 which is empty. On mozilla I don't get the error message.
I think the problem is not declaring globally 'map' and 'bar' because as it says on the link that you gave me: "If you assign a value to a variable without first "var"ing it, then a global variable of that name is created for you." However, I declared both variables and it is still not working. Any ideas? I don't really understand what I'm doing wrong because I don't have problem when I use a ground overlay or a tile overlay in the same way. Thanks for your help. On Nov 11, 1:46 am, Rossko <[EMAIL PROTECTED]> wrote: > > Please somebody help me!!, this is the last problem that I have to > > solve to finish my site!! > > Do you not get any error message? I do, and it's helpful. > You'll need a debugger to write maps javascript. > > Problem is scope for objects ''map' and 'bar' see - > http://econym.org.uk/gmap/scope.htm > > You need to declare 'map' and 'bar' globally, so that they still exist > after the set-up functions have been run, when the box is clicked. > > cheers, Ross K --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
