Mike thanks for the response. I tried adding marker.openInfoWindowHtml(address);
and nothing happened then I tried marker.openInfoWindowHtml(place.address); and the address popped up on the last marker but no others. My goal is to have the user click on a marker and have the name and address pop up ex. John Doe (cname) 123 Main St, San Jose, CA 43221 (address) Any suggestions? Thanks On Jun 15, 6:07 pm, Mike Williams <[email protected]> wrote: > You can't *pass* extra variables, but you can hold function closure on > additional variables. In fact your callGeocoder() function currently > does hold closure on the "cname" and "address" variables, so in this > case you can just write > > marker.openInfoWindowHtml(address); > > -- > Mike Williamshttp://econym.org.uk/gmap --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
