On Jun 18, 11:50 am, Rossko <[email protected]> wrote:
> > I can't see why it's not firing. Possibly something to do with it
> > being in the initialise function for <body onload>?
>
> That's exactly it.
> showAddress() ceases to exist once initialize() has finished.
> http://econym.org.uk/gmap/scope.htm
And when you move showAddress() out of initialize(), you will also
have to move the reasons[] array to where showAddress() can still see
it.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---