MGLMultiPolygonFeature

extension MGLMultiPolygonFeature
  • Initializes a map multipolygon feature representation of the given Turf multipolygon feature.

    Declaration

    Swift

    public convenience init?(_ multiPolygonFeature: Feature)

    Parameters

    multipolygonFeature

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