VBDPolygon
@interface VBDPolygon : VBDMultiPoint <VBDOverlay>
The VBDPolygon class represents a shape consisting of one or more points that
define a closed polygon. The points are connected end-to-end in the order they
are provided. The first and last points are connected to each other to create
the closed shape.
-
Creates and returns an
VBDPolygonobject from the specified set of coordinates.Declaration
Objective-C
+ (nonnull instancetype)polygonWithCoordinates: (nonnull CLLocationCoordinate2D *)coords count:(NSUInteger)count;Parameters
coordsThe array of coordinates defining the shape. The data in this array is copied to the new object.
countThe number of items in the
coordsarray.Return Value
A new polygon object.
VBDPolygon Class Reference