On Jun 28, 2:16 pm, Steven <[email protected]> wrote:
>
> Thanks for the reply, Andrew.  I've managed to get both map events and
> marker events activating now, but when I have more than one marker,
> only the last one activates, regardless of which marker you click.

That's the classic Pitfall Number Three, and is to do with Closure.
Have a look at Mike's tutorial: http://www.econym.org.uk/gmap/basic1.htm
-- he deals with marker clicks to open infoWindows, but the principle
applies to any event on a collection of markers.

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

Reply via email to