HereSDKPolyline
@interface HereSDKPolyline : HereSDKMapFeature
Geometric shape of continuous line composed of one or more line segments
-
This function generates a polyline from the given point list.
Declaration
Objective-C
+ (nonnull instancetype)polylineWithPoints: (nonnull NSArray<CLLocation *> *)points;
Swift
convenience init(points: [CLLocation])
Parameters
points
An array of CLLocation objects
Return Value
The HereSDKPolyline created from the given points