Disable infowindow clicking on KML layers

1,054 views
Skip to first unread message

Marc

unread,
Jan 11, 2011, 2:41:11 PM1/11/11
to google-map...@googlegroups.com
Is it possible to disable the infowindows on KML layers that I setMap to in version 3? I'm having trouble finding the documentation for this.

Thanks!

geoco...@gmail.com

unread,
Jan 11, 2011, 2:44:05 PM1/11/11
to Google Maps JavaScript API v3
On Jan 11, 11:41 am, Marc <phum...@gmail.com> wrote:
> Is it possible to disable the infowindows on KML layers that I setMap to in
> version 3? I'm having trouble finding the documentation for this.

Have you tried suppressInfowindows?
http://code.google.com/apis/maps/documentation/javascript/reference.html#KmlLayerOptions

suppressInfoWindows boolean Suppress the rendering of info windows
when layer features are clicked.

-- Larry

>
> Thanks!

Marc Phu

unread,
Jan 11, 2011, 2:57:39 PM1/11/11
to google-map...@googlegroups.com
Duhr, I'm so stupid! I never bothered to check the options for the actual KML call. Thanks for pointing this out: it worked!



>
> Thanks!

--
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 google-map...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.


Reply all
Reply to author
Forward
0 new messages