Fairly obviously, you're not getting closure on "comments", whatever
you may think.
Don't know why, but I don't really understand the implications of your
unusual use of an anonymous function within the geocoder callback to
set up the listeners.  It'll be running in global scope during the
geocoder callback - not in the scope of setMarkers(), which only sets
up the callback.

Can't debug, no access to map, no email thankyou.

Issuing the geocoder requests in a tight loop is bad practice, but not
related to this problem I think.

-- 
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 google-maps-js-api...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to