-
This function generates a polygon from the given point list.
Declaration
Objective-C
+ (nullable instancetype)polygonWithPoints: (nonnull NSArray<CLLocation *> *)points;Swift
convenience init?(points: [CLLocation])Parameters
pointsAn array of CLLocation objects (minimum 3 points)
Return Value
The HereSDKPolygon created from the given points, or
nilif not enough points
HereSDKPolygon Class Reference