It looks like you figured out a way to do it, however you should move
the marker click event assignment into the else where you create the
marker, you only need to do it once, otherwise you are attaching
multiple click events to the same marker.

Alan

On Jan 3, 6:45 am, Laythss <[email protected]> wrote:
> Thanks Alan and Larry.
> Allan that is what i have been trying to do, but i think i am failing. how
> do only create one marker and start a new instance of a marker everytime
> the map is clicked?

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