MultiPolygon
public struct MultiPolygon : Equatable
Undocumented
-
Undocumented
Declaration
Swift
public var coordinates: [[[CLLocationCoordinate2D]]]
-
Undocumented
Declaration
Swift
public init(_ coordinates: [[[CLLocationCoordinate2D]]])
-
Undocumented
Declaration
Swift
public init(_ polygons: [Polygon])
-
Undocumented
Declaration
Swift
public var polygons: [Polygon] { get }
-
Determines if the given coordinate falls within any of the polygons. The optional parameter
ignoreBoundary
will result in the method returning true if the given coordinate lies on the boundary line of the polygon or its interior rings.Calls contains function for each contained polygon
Declaration
Swift
public func contains(_ coordinate: CLLocationCoordinate2D, ignoreBoundary: Bool = false) -> Bool