TileProviderError

external class TileProviderError(provider: ImageryProvider, var message: String, var x: Double = definedExternally, var y: Double = definedExternally, var level: Int = definedExternally, var timesRetried: Double = definedExternally, var error: Error = definedExternally)(source)

Provides details about an error that occurred in an ImageryProvider or a TerrainProvider.

Parameters

provider

The imagery or terrain provider that experienced the error.

See also

Constructors

Link copied to clipboard
constructor(provider: TerrainProvider, message: String, x: Double? = definedExternally, y: Double? = definedExternally, level: Int? = definedExternally, timesRetried: Double? = definedExternally, error: Error? = definedExternally)
constructor(provider: ImageryProvider, message: String, x: Double = definedExternally, y: Double = definedExternally, level: Int = definedExternally, timesRetried: Double = definedExternally, error: Error = definedExternally)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The error or exception that occurred, if any.

Link copied to clipboard
var level: Int

The level of the tile that experienced the error, or undefined if the error is not specific to a particular tile.

Link copied to clipboard

A message describing the error.

Link copied to clipboard

The ImageryProvider or TerrainProvider that experienced the error.

Link copied to clipboard

True if the failed operation should be retried; otherwise, false. The imagery or terrain provider will set the initial value of this property before raising the event, but any listeners can change it. The value after the last listener is invoked will be acted upon.

Link copied to clipboard

The number of times this operation has been retried. Default value - 0

Link copied to clipboard
var x: Double

The X coordinate of the tile that experienced the error, or undefined if the error is not specific to a particular tile.

Link copied to clipboard
var y: Double

The Y coordinate of the tile that experienced the error, or undefined if the error is not specific to a particular tile.