I think that would work, as long as the polygon doesn't intersect itself 
a different number of times when you add the extra vertex. I.e. you have 
to be careful where you add the extra point to the polygon.

There's also the polygon.Contains() method in the EPoly extension, which 
would be more efficient. The polygon.Contains() code takes about the 
same amount of time as one area calculation, and doesn't need to create 
a second polygon. It also works correctly for self-intersecting 
polygons.

http://econym.org.uk/gmap/epoly.htm

-- 
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team


--~--~---------~--~----~------------~-------~--~----~
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