Hi! thanks for your answer. I already tried with:
marker.openInfoWindowHtml(html, { noCloseOnClick:true });  but it
doesn't work,

> You can do this for example by setting a flag to true as long as an
> infowindow remains open and then call a function with onCloseFn that
> sets the flag to false.

I really don't know what do you mean!

PLEASE HELP ME, I DON'T KNOW WHAT MORE CAN I DO!

On Jun 8, 11:21 am, "Pil (Trustworthy from Experience)"
<[email protected]> wrote:
> On Jun 8, 5:41 pm, Nicolas <[email protected]> wrote:
>
> To prevent that the infowindow is closed when the map itself will be
> clicked use this option
>
> marker.openInfoWindowHtml(html, { noCloseOnClick:true });
>
> > What I want
> > to do is that the user only would close the infowindow clicking the
> > "x" icon
>
> You can do this for example by setting a flag to true as long as an
> infowindow remains open and then call a function with onCloseFn that
> sets the flag to false.
>
> Have a look at the reference for both of your intentions
>
> http://code.google.com/apis/maps/documentation/reference.html#GInfoWi...
>
> But you should be aware that you'd change the standard behaviour -
> especially with the second intention - and even map power users could
> be confused.
--~--~---------~--~----~------------~-------~--~----~
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