MapLoadingErrorPayload

public struct MapLoadingErrorPayload
extension MapLoadingErrorPayload: Decodable

Describes an error that has occurred while loading the map.

  • The error message and type of resource that could not be loaded.

    Declaration

    Swift

    public let error: MapLoadingError
  • The id of the failing source.

    Declaration

    Swift

    public let sourceId: String?
  • The id of the failing tile.

    Declaration

    Swift

    public var tileId: CanonicalTileID? { get }
  • Declaration

    Swift

    public init(from decoder: Decoder) throws