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 -
Incorrect polygon coordinate error.
Declaration
Swift
case incorrectPolygonCoordinate -
Either the polygon has no area or its vertices are not ordered in counterclockwise error.
Declaration
Swift
case wrongOrderOfVertices -
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
-
A localized message describing what error occurred.
Declaration
Swift
public var errorDescription: String? { get }
TomTom SDK for iOS (0.53.1)
PolygonError