XweatherEncodedTileSource

class XweatherEncodedTileSource(var id: String, var authenticator: XweatherAuthenticator?) : EncodedTileSource

XweatherEncodedTileSource.kt

A subclass of EncodedTileSource that is used to request and process encoded tile data from the MapsGL server.

Based on the IOS version.

Author

Jason Suto 01/08/24

Constructors

Link copied to clipboard
constructor(id: String, authenticator: XweatherAuthenticator?)

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
open override var authenticator: XweatherAuthenticator?
Link copied to clipboard
open lateinit override var bounds: MapBounds<LatitudeLongitude>
Link copied to clipboard
Link copied to clipboard
open override var datasets: List<DatasetType>
Link copied to clipboard
open override val eventDispatcher: EventDispatcher
Link copied to clipboard
open override var id: String
Link copied to clipboard
open override var isLoading: Boolean
Link copied to clipboard
open override var isReady: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open lateinit override var kind: DataSourceKind
Link copied to clipboard
Link copied to clipboard
open override var maxZoom: Float
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override var metaDataNeeded: Boolean
Link copied to clipboard
Link copied to clipboard
open override var metadataURL: String?
Link copied to clipboard
open override var minZoom: Float
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val requests: HashMap<String, Task>
Link copied to clipboard
val size: Int = 512
Link copied to clipboard
open override var tileCache: TileCache<DataType>
Link copied to clipboard
open override var tileManager: TileRequestManager<DataType>
Link copied to clipboard
Link copied to clipboard
open lateinit override var tileSize: TileSize
Link copied to clipboard
Link copied to clipboard
open override var tileURL: String?
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun addConsumer(consumer: DataSourceConsumer)
Link copied to clipboard
open override fun contains(coord: TileCoord): Boolean
Link copied to clipboard
suspend fun <DataType : TileData> TileSource<DataType>.contains(coord: TileCoord): Boolean
Link copied to clipboard
Link copied to clipboard
open suspend override fun fetchMetadata()
Link copied to clipboard
Link copied to clipboard

Test function to detect color format of image

Link copied to clipboard
Link copied to clipboard
open override fun getMetadataURL(): URL?
Link copied to clipboard
fun incrementTime(input: String, seconds: Long): String
Link copied to clipboard
fun <DataType : TileData> TileSource<DataType>.init(id: String, authenticator: Authenticator<MediaSession.Token>?)
Link copied to clipboard
fun metadata(forChannel: SampleChannel): EncodedDataset?

Returns the metadata for the specified channel, if available.

Link copied to clipboard
open suspend override fun parseTile(tile: TileType, data: ByteArray, headers: Headers?): Bitmap
Link copied to clipboard
open override fun prepareMetadataRequest(request: URLRequest)
Link copied to clipboard
open override fun prepareTileRequest(request: URLRequest)
Link copied to clipboard
inline fun <EventType : Event> EventSource.publisher(eventType: Class<EventType>): Flow<EventType>
Link copied to clipboard
open override fun removeConsumer(consumer: DataSourceConsumer)
Link copied to clipboard
open suspend override fun requestTile(coord: TileCoord, options: TileRequestOptions): Any?
Link copied to clipboard
fun setObserver(observer: Observer<String>, layerID: String)
Link copied to clipboard
open suspend override fun shouldRequestTile(tile: TileType, reload: Boolean): Boolean
Link copied to clipboard
suspend fun <DataType : TileData> TileSource<DataType>.shouldRequestTile(tile: TileType, reload: Boolean): Boolean
Link copied to clipboard
inline suspend fun <EventType : Event> EventSource.subscribe(eventType: Class<EventType>, crossinline handler: (EventType) -> Unit)
Link copied to clipboard