On Sep 25, 7:23 am, pbuck <[email protected]> wrote:
>
> So, I'm stuck with my own inPolygon() routine to check which polygons
> contain current mouse position....?

Yes. As a click on a polygon also triggers a click on the map, it's
probably better where you know that polygons overlap to make use of
that. Don't listen for clicks on the polygons; listen for clicks on
the map and do point-in-polygon analysis on your poly collection to
determine which one(s) contain the click point. Mike's EPoly extension
adds a .Contains() method which will help.

Andrew
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to