MGLPolylineFeature

extension MGLPolylineFeature
  • Initializes a map polyline feature representation of the given Turf linestring feature.

    Declaration

    Swift

    public convenience init?(_ lineStringFeature: Feature)

    Parameters

    lineStringFeature

    The Turf LineString feature to convert to a map polyline feature. If the Feature passed is not of type LineString - initialization fails.