> I agree with you...but I can't make it work...help me ;)

Structure your code the way that
http://econym.org.uk/gmap/basic1.htm
is structured.
The important part is putting your marker creation and listener adding
into a seperate function, so that it can get closure when it is called
from inside the loop.
Here's a v3 example
http://code.google.com/apis/maps/documentation/javascript/examples/event-closure.html

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