PolygonError
public enum PolygonError : Error
extension PolygonError: LocalizedError
The PolygonError enum contains possible errors that can occurs during Polygon
init.
Failed to create annotation. Attempting to build marker with invalid coordinate or without a pin asset eror.
Declaration
Swift
case builderConfiguration
A localized message describing what error occurred.
Declaration
Swift
public var errorDescription: String? { get }
Incorrect polygon coordinate error.
Declaration
Swift
case incorrectPolygonCoordinate
Attempting to polygon on layer was invalid, because style file is not correct error.
Declaration
Swift
case noLayer
There is not matching polygon id error.
Declaration
Swift
case noPolygon
Either the polygon has no area or its vertices are not ordered in counterclockwise error.
Declaration
Swift
case wrongOrderOfVertices