How do I prevent Places bubble on click?

88 views
Skip to first unread message

Null Pointer

unread,
Sep 5, 2011, 8:10:02 PM9/5/11
to Google Maps JavaScript API v3
I noticed recently that if I click on the map, a bubble shows up with
a place.
I want to disable that.

I guess I can add a click event, but I rather not do it and disable
that functionality completely, hopefully not even load the JS code.
This is a phone app and it needs every bit of performance we can
squeeze.

I can't find any way to control it in the API.

Any ideas?

Chris Broadfoot

unread,
Sep 6, 2011, 2:02:22 AM9/6/11
to google-map...@googlegroups.com
Unfortunately this is not possible - you'll have to hide all POI labels in order to prevent these info windows being shown.

See here for details:

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


Null Pointer

unread,
Sep 6, 2011, 1:21:32 PM9/6/11
to Google Maps JavaScript API v3
This is very bad news. It kills the phones performance. It is slow to
the point of a deal breaker for our android app (which we test on fast
phones), we are thinking of switching to java.

I assume hiding it with CSS does nothing to improve performance?

Baz

unread,
Jan 16, 2012, 1:10:44 PM1/16/12
to google-map...@googlegroups.com
Are there any plans to offer a way to disable these bubbles?

We also don't want the info bubbles in our application for various reasons, but the POI icons themselves are quite useful.  It would be disappointing if we were forced to turn off all POI icons just to avoid their bubbles.
Reply all
Reply to author
Forward
0 new messages