View Single Post

  #1 (permalink)  
Old 03-28-2005
Anonymous Anonymous is offline
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Determine if a polyline is closed?

Shapes.addPolyline method says "To add a closed polygon, use the same Location object for the first and last items in the array." This works fine.

However, is there any way in the API to determine if a shape of type "geoFreeform" is closed or not?

The vertices property does not use the same Location object for the first and last items in the array even if it is closed.
Reply With Quote