AbstractTiledElevationCoverage

Constructors

Link copied to clipboard
constructor(tileMatrixSet: TileMatrixSet, elevationSourceFactory: ElevationSourceFactory)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Concurrent cache-only reads allowed. Generous vs retrievalQueueSize: cache reads are cheap local I/O and must get their own budget separate from the network-retrieval budget, so a slow network DEM fetch holding the network slots can't stall cached tiles behind it.

Link copied to clipboard
open override var displayName: String?

Human-readable elevation coverage name

Link copied to clipboard
open override var isEnabled: Boolean

Determines if current elevation coverage should be processed during rendering

Link copied to clipboard

Controls how many concurrent tile requests are allowed for this coverage.

Link copied to clipboard
override val sector: Sector

Elevation content bounding sector

Link copied to clipboard
Link copied to clipboard
open override val timestamp: Long

Last elevation update timestamp

Link copied to clipboard

Unique identifier of the coverage type, defined by elevation source factory content type

Functions

Link copied to clipboard
open override fun clear()

Clears elevation runtime data

Link copied to clipboard
open override fun getElevation(latitude: Angle, longitude: Angle, retrieve: Boolean): Float

Gets elevation at specified location

Link copied to clipboard
open override fun getElevationGrid(gridSector: Sector, gridWidth: Int, gridHeight: Int, result: FloatArray)

Gets elevation values for the specified sector with required width and height resolution

Link copied to clipboard
open override fun getElevationLimits(sector: Sector, result: FloatArray)

Gets elevation limits at specified sector

Link copied to clipboard
open override fun getUserProperty(key: Any): Any?

Gets optional user property

Link copied to clipboard
open override fun hasUserProperty(key: Any): Boolean

Checks optional user property exists

Link copied to clipboard
open override fun isChangedSince(time: Long, sector: Sector): Boolean

Checks if coverage data influencing the specified sector could have changed after the specified timestamp

Link copied to clipboard
open override fun putUserProperty(key: Any, value: Any): Any?

Puts optional user property

Link copied to clipboard
open override fun removeUserProperty(key: Any): Any?

Removes optional user property

Link copied to clipboard
fun setupCoverageCache(capacity: Long, lowWater: Long = (capacity * 0.75).toLong())

Setup custom coverage cache size according to device capabilities and user needs.