MapLoadingError
public enum MapLoadingError : LocalizedError
Error type that represents the data returned with the .mapLoadingError
event
The associated message (which is returned by errorDescription
) contains
a descriptive error message.
-
Style could not be loaded
Declaration
Swift
case style(String)
-
Sprite could not be loaded
Declaration
Swift
case sprite(String)
-
Source could not be loaded
Declaration
Swift
case source(String)
-
Tile could not be loaded
Declaration
Swift
case tile(String)
-
Glyphs could not be loaded
Declaration
Swift
case glyphs(String)
-
Associated message (from
.mapLoadingError
event) that describes the errorDeclaration
Swift
public var errorDescription: String? { get }