MGLPolygon
extension MGLPolygon
-
Initializes a map polygon representation of the given Turf ring.
Declaration
Swift
public convenience init(_ ring: Ring)
Parameters
ring
The Turf ring to convert to a map polygon.
-
Initializes a map polygon representation of the given Turf polygon.
Declaration
Swift
public convenience init(_ polygon: Polygon)
Parameters
ring
The Turf ring to convert to a map polygon.