On Nov 10, 10:33 am, Rossko <[email protected]> wrote: > > See Mike's Epoly extension -http://econym.org.uk/gmap/epoly.htm > which provides a point-in-poly test. > Iterate through the vertices of one of your polys making the test > against the other poly.
Actually with this method you would need to test both, because it would be possible to have an intersection where only one polygon has vertices within the other (that is, if the boundaries cross such that both boundary crossing-points are on a single boundary segment of one of the polygons). For one of the polygons, all the vertices would lie outside the other. 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=.
