upsample

suspend fun upsample(tilingScheme: TilingScheme, thisX: Double, thisY: Double, thisLevel: Int, descendantX: Double, descendantY: Double, descendantLevel: Int): TerrainData?(source)

Upsamples this terrain data for use by a descendant tile.

Return

A promise for upsampled terrain data for the descendant tile, or undefined if too many asynchronous upsample operations are in progress and the request has been deferred.

Parameters

tilingScheme

The tiling scheme of this terrain data.

thisX

The X coordinate of this tile in the tiling scheme.

thisY

The Y coordinate of this tile in the tiling scheme.

thisLevel

The level of this tile in the tiling scheme.

descendantX

The X coordinate within the tiling scheme of the descendant tile for which we are upsampling.

descendantY

The Y coordinate within the tiling scheme of the descendant tile for which we are upsampling.

descendantLevel

The level within the tiling scheme of the descendant tile for which we are upsampling.

See also