Package-level declarations

Types

Link copied to clipboard

Describes data source of request for resource-request event.

Link copied to clipboard
data class Error(val reason: ResponseErrorReason, val message: String)

The data class for error in Observer

Link copied to clipboard

Describes an error type while loading the map. Defines what resource could not be loaded.

Link copied to clipboard

Describes whether a map or frame has been fully rendered or not.

Link copied to clipboard
data class Request(val loadingMethod: List<String>, val url: String, val kind: RequestType, val priority: RequestPriority)

The request data class that included in EventData

Link copied to clipboard

Describes priority for request object.

Link copied to clipboard

Describes type for request object.

Link copied to clipboard
data class Response(val eTag: String?, val mustRevalidate: Boolean, val noContent: Boolean, val modified: String?, val source: ResponseSourceType, val notModified: Boolean, val expires: String?, val size: Int, val error: Error?)

The response data class that included in EventData

Link copied to clipboard

Describes the reason of Error for response object.

Link copied to clipboard

Describes source data type for response in resource-request event.

Link copied to clipboard

Defines what kind of source data has been loaded in a source-data-loaded event.

Link copied to clipboard

Defines what kind of style data has been loaded in a style-data-loaded event.

Link copied to clipboard
data class TileID(val zoom: Long, val x: Long, val y: Long)

Defines the tile id in a source-data-loaded event.