Your code doesn't need that chunk of code to to determine if a point
is inside a polygon in order to use -
GEvent.addListener(poly, "click", function() ...
- the Google API now works that out by itself. It will also tell you
which polygon was clicked, if any, and the point at which the click
was made. So long as you use an up to date-ish version like say, v=2
We don't know if you use the point-in-poly functionality for some
other use somewhere else in your code, so only you can decide if you
need that functionality or not.
cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---