TimeDynamicImagery

Provides functionality for ImageryProviders that have time dynamic imagery

See also

Constructors

Link copied to clipboard

Types

Link copied to clipboard
sealed interface ConstructorOptions

Properties

Link copied to clipboard

Gets or sets a clock that is used to get keep the time used for time dynamic parameters.

Link copied to clipboard

Gets the current interval.

Link copied to clipboard

Gets or sets a time interval collection.

Functions

Link copied to clipboard
fun checkApproachingInterval(x: Double, y: Double, level: Int, request: Request? = definedExternally)

Checks if the next interval is approaching and will start preload the tile if necessary. Otherwise it will just add the tile to a list to preload when we approach the next interval.

Link copied to clipboard
suspend fun getFromCache(x: Double, y: Double, level: Int, request: Request? = definedExternally): HTMLImageElement?

Gets the tile from the cache if its available.

Link copied to clipboard
fun getFromCacheAsync(x: Double, y: Double, level: Int, request: Request? = definedExternally): Promise<HTMLImageElement>?