Hi Pil! I think you missed the link with the map that I posted in my
first comment, anyway, I am posting it again for you:

LINK: -------------- http://flipxing.com/no_borrar.html

As you can see I have the noCloseOnClick:true

The problem is that I have a GEvent.addListener(map, "click", function
(overlay, latlng) that is watching the map, that is the reason the
marker's infowindow is closing down when I click the map.

What I want to do is: If I click a marker then an infowindow opens,
but I DO NOT want to to close it down when some one click on the map,
only when click the "x" icon (I really don't want the infowindow close
down). How can I do that?? what is the code?... I am a beginner and I
really don't know  how to code what are you saying.

Thanks for your time
Nicolas




On Jun 9, 2:27 am, "Pil (Trustworthy from Experience)"
<wolf...@gmail.com> wrote:
> On Jun 8, 11:59 pm, Nicolas <ncr2...@gmail.com> wrote:
>
> > Hi! thanks for your answer. I already tried with:
> > marker.openInfoWindowHtml(html, { noCloseOnClick:true });  but it
> > doesn't work,
>
> Then you made something wrong. Thats one reason why we would need a
> link to the non working map - as stated in the posting guidelines.
>
> Before opening an infowindow you can check if a *global* variable has
> the right value and then open it
>
> if(flag == true) open.infowindow...
>
> That would mean that the infowindow cannot be openend as long as the
> variable flag is set to false. So you have to switch the variable flag
> accordingly.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to Google-Maps-API@googlegroups.com
To unsubscribe from this group, send email to 
google-maps-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to