Hi, I want to apply the example about Reverse Geocoding (on http://code.google.com/intl/en/apis/maps/documentation/services.html#ReverseGeocoding) to my site with the difference that my site should include multiple Google Maps (each displaying a different location). I refer to this example, since I found the following functionalities useful: - Event-handler GEvent.addListener checks, if a map is clicked and opens an info-window "openInfoWindowHtml()" - info-window contains human-readable address (reversely geocoded from clicked location/geocode)
My problem as a newbie is to apply the example code to my case, where multiple maps exist: Do I need an array of map variables, like: var maps = new Array(map1, map2, ...)? If I use as much variables as there are maps on my site, then how can I manage that I don't also need as much implementations of the functions "getAddress()" and "showAddress()"? Since I weren't able to come up with a solution on my own, I would appreciate very much, if someone may outline his idea, how to implement it. Best regards, Jonathan -- 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.
