I could explain the problem, but it's easier to see if you visit
http://www.baseloc.com/dls/ -- a simple geocoding service that
converts and maps between a few coordinate systems.

Anyway, if you visit the page, try this: Click several locations on
the map (it doesn't matter where). You should see each marker appear
on the map, and an entry appear in the sidebar. Each click on the map
queries Google's geocoder -- the result of which appends some html
(the approximate address) to the bottom of each marker's infowindow.

Now, here's the weird thing, the part I can't fix:

Good: If you CLICK THE SIDEBAR entries, each infowindow that opens
displays the correct (corresponding) address returned by Google's
geocoeer.

Bad: If you CLICK THE MARKER on the map, the infowindow that opens
will display the most RECENT geocode request result. All markers show
the same most recent geocode result.

I've tried to figure this out -- is seems to be a combination of
namespace and closure weirdness, but I'm just not sharp enough to sort
it out. Can someone help me here? Or, can you point me to a V3 example
on the web that does what I want to do -- multiple clicks-to-markers,
with geocoding going to the sidebar and markers?

Thanks!

...Rene

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