On Apr 12, 7:02 am, Jason <jason.wool...@gmail.com> wrote: > I'm getting an "a is undefined error" in the Firefox error console
the geoCallback function assumes the map has been initialized already, but geoCallback() might be called before the initialize() function (which is only called after the document is ready). one way to fix this is for geoCallback to call initialize() but this should only attempt to initialize the map once (whichever happens first: the document load, or the mosTiles load). Here's a map which shows a way of doing this: http://www.william-map.com/20100412/1/map.htm -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to google-maps-...@googlegroups.com. To unsubscribe from this group, send email to google-maps-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.