MapLoadingError

Describes an error that has occurred while loading the `map`. The `type` property defines what resource could not be loaded, and the `message` property will contain a descriptive error message. - In case of `MapLoadingErrorType.Source` or `MapLoadingErrorType.Tile` loading errors, the `sourceId` property will contain the source's name. - In case of `MapLoadingErrorType.Tile` loading errors, `tileId` will contain the `CanonicalTileID` of the tile.

Constructors

Link copied to clipboard
open fun MapLoadingError(@NonNull type: MapLoadingErrorType, @NonNull message: String, @Nullable sourceId: String, @Nullable tileId: CanonicalTileID, @NonNull timestamp: Date)

Functions

Link copied to clipboard
open fun equals(object: Any): Boolean
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun toString(): String

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Extensions

Link copied to clipboard

Extension function to map the newly introduced event to the legacy one.