i understand how closures add extra variables to the scope of a method, and that this enables passing parameters to event listeners. but! for StreetViewService queries, the listener method is called from within google's code. i can't put a closure in there.
is there any way to provide an id to my listeners for getPanoramaByLocation()? if not, i have to do all my queries one at a time. a similar question: http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/71b1897a18408e47/d474a771a2cd358c in this thread chad killingsworth suggests that a closure solves the problem, but searching and testing i haven't been able to corroborate his claim: http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/bc787243305bd9c8/f8d65c15d23e8e61 -- 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-v3@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.