That was it. Thanks. I must congratulate the Google Maps team on V3. It is much neater to code with.
Mike On Jun 18, 5:06 pm, Rossko <[email protected]> wrote: > > Obviously I would not be posting this if it did work, so I think I > > need some help here. The Firefox error console only says "a is > > undefined" which is unfortunately not very helpful. Any suggestions > > as to what I am doing wrong? > > You are assigning the listener in in-line code, outside of your > initializeMap() function. > The map won't exist yet. > Move your listener creation to inside of initializeMap() -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
