Have you seen Mike's tutorial?
http://econym.org.uk/gmap/example_map2.htm
That example has the markers already displayed before hand but there's
no reason you can't perform the map.addOverlay on the click.

On Aug 4, 12:17 pm, Michael Andrews <[email protected]> wrote:
> I have a page you can view herehttp://alpha.clickablecommunity.com/index.aspx
> Right now I have two static markers. If you look on the left side, you
> will see generic category 1 category 2 with events beneath them. What
> I want is when a user clicks on one of those events for the map to
> change it's center position to that lat/long and put a marker there,
> if they click on another link I want the center to change, but the
> marker to stay so if they clicked on 4 links, then there should be 4
> markers. Also, if they have clicked on a link and they click on it
> again, I want to remove the marker. I can understand the pseudo on how
> to do this, but I have no idea on the code. Can anyone either help me
> or at least point me in the right direction? Thanks,
--~--~---------~--~----~------------~-------~--~----~
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