Editable polygons prevents MarkerClusterer icons from being clicked

95 views
Skip to first unread message

Gary Little

unread,
Nov 21, 2011, 4:29:33 PM11/21/11
to Google Maps JavaScript API v3
I've noticed that if you make a polygon editable (using the new 3.7
capability) and the polygon encloses a MarkerClusterer icon, the
MarkerClusterer icon does not get click events. This is not good,
since clicking the icon is the quick way to zoom the map in and see
the individual markers.

Anyone have any ideas on what's going on here?

Enoch Lau (Google Employee)

unread,
Nov 21, 2011, 5:47:28 PM11/21/11
to google-map...@googlegroups.com
Can you make a demo page that illustrates this please?

Enoch

Gary Little

unread,
Nov 22, 2011, 12:19:49 AM11/22/11
to Google Maps JavaScript API v3
Go to http://www.luxcentral.com/bug/bug10.html

1. Click the polygon tool in the shape toolbar on the map (it's the
only tool with editable set to true)

2. Draw a polygon around the cluster icon.

3. Click the hand tool in the shape toolbar.

4. Click the cluster icon -- nothing happens.

5. Reload the page and repeat the above steps, but use the circle or
rectangle tool instead (they don't have editable set to true).

6. Click the cluster icon -- note that the map zooms in as expected
and the markers in the cluster appear.

On Nov 21, 2:47 pm, "Enoch Lau (Google Employee)"

Enoch Lau (Google Employee)

unread,
Nov 22, 2011, 12:38:47 AM11/22/11
to google-map...@googlegroups.com
I don't see the behavior you describe - for both editable polygons and non-editable circles, when I click the cluster icon, the map zooms in. Which browser/OS are you using?

Enoch

Gary Little

unread,
Nov 22, 2011, 1:23:04 AM11/22/11
to Google Maps JavaScript API v3
Mac OS X 10.6.8 / Safari

I just tried Firefox 7.0.1... and it works!

So it looks like it is something to do with Safari.

On Nov 21, 9:38 pm, "Enoch Lau (Google Employee)"

Gary Little

unread,
Nov 22, 2011, 1:26:39 AM11/22/11
to Google Maps JavaScript API v3
I just checked Chrome, OmniWeb, and Opera (all on Mac) and they work
as well.

Only Safari is problematic. I'm running v 5.0.5.

Gary

Reply all
Reply to author
Forward
0 new messages