> Even if i declare variables outside the callback method and assign > their values in the call back method, after invocation of the call > back is complete the variables are reset to "undefined".
Its not like that, its a timing thing ; you are trying to read the variables BEFORE the callback has set them up. You've had pointers to Mike's really useful notes, but try this specific item - http://econym.org.uk/gmap/async.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 [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.
