Functions
Link copied to clipboard
fun reportError(previousError: TileProviderError, event: DefaultEvent? = definedExternally, message: String? = definedExternally, x: Double? = definedExternally, y: Double? = definedExternally, level: Int? = definedExternally, errorDetails: Error? = definedExternally): TileProviderError
Reports an error in an ImageryProvider or TerrainProvider by raising an event if it has any listeners, or by logging the error to the console if the event has no listeners. This method also tracks the number of times the operation has been retried.
fun reportError(previousError: TileProviderError, provider: ImageryProvider, event: DefaultEvent? = definedExternally, message: String? = definedExternally, x: Double? = definedExternally, y: Double? = definedExternally, level: Int? = definedExternally, errorDetails: Error? = definedExternally): TileProviderError
fun reportError(previousError: TileProviderError, provider: TerrainProvider, event: DefaultEvent? = definedExternally, message: String? = definedExternally, x: Double? = definedExternally, y: Double? = definedExternally, level: Int? = definedExternally, errorDetails: Error? = definedExternally): TileProviderError
Link copied to clipboard
Reports success of an operation by resetting the retry count of a previous error, if any. This way, if the error occurs again in the future, the listeners will be informed that it has not yet been retried.