MGLPolygonFeature
extension MGLPolygonFeature
-
Initializes a map polygon feature representation of the given Turf polygon feature.
Declaration
Swift
public convenience init?(_ polygonFeature: Feature)
Parameters
polygonFeature
The Turf
Polygon
feature to convert to a map polygon feature. If the Feature passed is not of typePolygon
- initialization fails.