On Oct 21, 10:15 pm, Esa <[EMAIL PROTECTED]> wrote:
> On Oct 21, 10:58 pm, Martin <[EMAIL PROTECTED]> wrote:
>
> > So I a question: Do a polygon must be close? (in this case a triangle
> > will be 4 vertex and not 3)
>
> No it doesn't have to be.

But if you have an open 3-vertex polygon, you won't be able to delete
a point because then it won't be a polygon.

I haven't tried an open 4-vertex polygon: theoretically it's possible
to delete a vertex from that and produce an open 3-vertex polygon.
However, the documentation does say, "polygons are designed to define
regions within a closed loop," (see
http://code.google.com/apis/maps/documentation/overlays.html#Polygons_Overview)
so it appears the API assumes that the minimum number of vertices,
producing a triangle, is four.

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