Hi Tomas,

Just a couple things:
1. Use addListenerOnce, the event listener will only be fired the first
time event is fired after you add the listener.
2. As you said, this technique is very susceptible to breaking changes by
the API.
3. Does this not cause a flash between when the info window is displayed,
and when your code hides it?

For those that don't want the info windows to show when poi icons are
clicked, can I ask why? It would be good to get an idea of your use case -
it helps when we are prioritising development of new features.

In particular, why you'd like to show icons but no info windows - beware
this may potentially confuse your users, who are accustomed to being able
to get information about a place by clicking its business icon.

Cheers
Chris

--
http://twitter.com/broady



On Sun, Dec 4, 2011 at 1:08 AM, blaaah <[email protected]> wrote:

> There have been some discussions how to disable POIs infoWindows while
> keeping POIs disabled (disable POIs completely can be easily done
> using layer styling). There's been solution found recently!!
>
> http://stackoverflow.com/q/7950030/684229#8361698
>
> blaaah
>
> --
> 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.
>
>

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