> when you click on the marker the infowindow closes (that makes the
> marker o dissapear as i have set it) and then reopens

Yes.
Your placeMarkerOnMap() function creats the new marker, and binds an
infowindow to it.
So, when the marker is clicked, the API opens that infowindow exactly
as you instructed it to.  If an infowindow is already open - as it is
in this case - it closes that first.
The API is doing what you tell it to, when it should.

You might leave out the infowindow binding on your "draft" marker, or
you might replace it with a clicke event handler that looks to see
what the infowindow is currently doing before re-opening it.
All things are possible, but you will have to define clearly to
yourself what you want to happen.

cheers, Ross K

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