MGLPolylineFeature
extension MGLPolylineFeature
-
Initializes a map polyline feature representation of the given Turf linestring feature.
Declaration
Swift
public convenience init?(_ lineStringFeature: Feature)Parameters
lineStringFeatureThe Turf
LineStringfeature to convert to a map polyline feature. If the Feature passed is not of typeLineString- initialization fails.
Install in Dash
MGLPolylineFeature Extension Reference