Click Propagation With Polygon Problem

39 views
Skip to first unread message

Tyson G

unread,
Jul 18, 2010, 10:59:44 PM7/18/10
to Google Maps JavaScript API v3
Hi all.

Just wondering if anyone else noticed a change that must have happened
in the last few days regarding propagation of click events. I set my
map to have a click listener, and that works fine. I display various
polygons that do not have a listener. For some weeks previous to this
weekend, clicking on the map where a polygon was shown would result in
the map click listener being fired. Now, the click seems to be
getting stopped at the polygon. The map click event still fires for
any space that does not have a polygon though.

Thanks,

Tyson

ClubPit

unread,
Jul 19, 2010, 7:30:13 AM7/19/10
to Google Maps JavaScript API v3
I'm getting exactly the same results. Looks like we'll have to use the
polgyon click events now.

KW

evil853

unread,
Jul 19, 2010, 9:54:13 AM7/19/10
to Google Maps JavaScript API v3
It seems the maps team is working on making polygons behave more like
markers. Refer to this thread I started a few days ago:

http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/6e4c134059159e75

The issues mentioned have been corrected, but for your particular
problem I think you need to wait for the 'clickable' PolygonOption to
be fixed.

Damsel

unread,
Jul 19, 2010, 10:04:14 AM7/19/10
to Google Maps JavaScript API v3
How do we refer to an older version of the API which worked for us?
My system is completely broken due to these changes.

On Jul 19, 9:54 am, evil853 <evil...@gmail.com> wrote:
> It seems the maps team is working on making polygons behave more like
> markers.  Refer to this thread I started a few days ago:
>
> http://groups.google.com/group/google-maps-js-api-v3/browse_thread/th...
>
> The issues mentioned have been corrected, but for your particular
> problem I think you need to wait for the 'clickable' PolygonOption to
> be fixed.
>
> On Jul 19, 7:30 am, ClubPit <club...@googlemail.com> wrote:
>
>
>
> > I'm getting exactly the same results. Looks like we'll have to use the
> > polgyon click events now.
>
> > KW- Hide quoted text -
>
> - Show quoted text -

evil853

unread,
Jul 19, 2010, 10:12:19 AM7/19/10
to Google Maps JavaScript API v3
http://code.google.com/apis/maps/documentation/javascript/basics.html#Versioning

google.load("maps", "3.0", { other_params: "sensor=false" });

that should do the trick for you.
Reply all
Reply to author
Forward
0 new messages