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.