Thanks Barry, this helped!

PS: Thanks for the other info too, I'm not planning anything against
the TOS, it's going to be a one-time conversion tool for addresses to
help manual checking. The result will be displayed with a proper
Google map.

Thanks again.

eszpee

On Sep 6, 11:19 pm, Barry Hunter <[email protected]> wrote:
> Try using function closure
>
> http://econym.org.uk/gmap/closure.htm
>
> On 6 September 2010 20:25, eszpee <[email protected]> wrote:
>
>
>
> > Hi,
>
> > I'm trying to pass extra parameters to a geocode lookup. I'm calling
> > lookups from a loop, and I'd like the callback function to know which
> > call's reply did it get.
>
> > The bare script can be seen in action here:http://underground.hu/temp/
> > - I tried to remove everything that's not related to the problem.
>
> > As you can see I'm trying to pass the variable 'i' to the callback
> > function, but it gets an 'undefined' value in the alerts.
>
> > Thanks a lot in advance for any help.
>
> > Peter Szasz
>
> > --
> > 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 
> > athttp://groups.google.com/group/google-maps-js-api-v3?hl=en.

-- 
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.

Reply via email to