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