MercatorImageTile

actual open class MercatorImageTile(sector: MercatorSector, level: Level, row: Int, column: Int) : AbstractMercatorImageTile

Constructs a tile with a specified sector, level, row and column.

Parameters

sector

the sector spanned by the tile

level

the tile's level in a LevelSet

row

the tile's row within the specified level

column

the tile's column within the specified level

expect open class MercatorImageTile(sector: MercatorSector, level: Level, row: Int, column: Int) : AbstractMercatorImageTile
actual open class MercatorImageTile(sector: MercatorSector, level: Level, row: Int, column: Int) : AbstractMercatorImageTile
actual open class MercatorImageTile(sector: MercatorSector, level: Level, row: Int, column: Int) : AbstractMercatorImageTile

Constructs a tile with a specified sector, level, row and column.

Parameters

sector

the sector spanned by the tile

level

the tile's level in a LevelSet

row

the tile's row within the specified level

column

the tile's column within the specified level

actual open class MercatorImageTile(sector: MercatorSector, level: Level, row: Int, column: Int) : AbstractMercatorImageTile

Constructs a tile with a specified sector, level, row and column.

Parameters

sector

the sector spanned by the tile

level

the tile's level in a LevelSet

row

the tile's row within the specified level

column

the tile's column within the specified level

Constructors

Link copied to clipboard
actual constructor(sector: MercatorSector, level: Level, row: Int, column: Int)
expect constructor(sector: MercatorSector, level: Level, row: Int, column: Int)
actual constructor(sector: MercatorSector, level: Level, row: Int, column: Int)
actual constructor(sector: MercatorSector, level: Level, row: Int, column: Int)
actual constructor(sector: MercatorSector, level: Level, row: Int, column: Int)

Types

Link copied to clipboard
object Companion

Properties

column
Link copied to clipboard
val column: Int

The tile's column within its level.

val column: Int

The tile's column within its level.

val column: Int

The tile's column within its level.

val column: Int

The tile's column within its level.

val column: Int

The tile's column within its level.

Link copied to clipboard
level
Link copied to clipboard
val level: Level

The level at which this tile lies within a LevelSet.

The level at which this tile lies within a LevelSet.

val level: Level

The level at which this tile lies within a LevelSet.

val level: Level

The level at which this tile lies within a LevelSet.

val level: Level

The level at which this tile lies within a LevelSet.

row
Link copied to clipboard
val row: Int

The tile's row within its level.

val row: Int

The tile's row within its level.

val row: Int

The tile's row within its level.

val row: Int

The tile's row within its level.

val row: Int

The tile's row within its level.

sector
Link copied to clipboard
val sector: Sector

The sector spanned by this tile.

The sector spanned by this tile.

val sector: Sector

The sector spanned by this tile.

val sector: Sector

The sector spanned by this tile.

val sector: Sector

The sector spanned by this tile.

tileKey
Link copied to clipboard

A key that uniquely identifies this tile within a level set. Tile keys are not unique to a specific level set.

A key that uniquely identifies this tile within a level set. Tile keys are not unique to a specific level set.

A key that uniquely identifies this tile within a level set. Tile keys are not unique to a specific level set.

A key that uniquely identifies this tile within a level set. Tile keys are not unique to a specific level set.

A key that uniquely identifies this tile within a level set. Tile keys are not unique to a specific level set.

Functions

distanceToCamera
Link copied to clipboard
fun distanceToCamera(rc: RenderContext): Double

Distance from this tile's nearest point to the camera, cached per camera position and elevation timestamp so the fog cull and the subdivision test share one computation per frame. 3D globes only - offset (2D continuous) globes reposition tiles without moving the camera point.

Distance from this tile's nearest point to the camera, cached per camera position and elevation timestamp so the fog cull and the subdivision test share one computation per frame. 3D globes only - offset (2D continuous) globes reposition tiles without moving the camera point.

fun distanceToCamera(rc: RenderContext): Double

Distance from this tile's nearest point to the camera, cached per camera position and elevation timestamp so the fog cull and the subdivision test share one computation per frame. 3D globes only - offset (2D continuous) globes reposition tiles without moving the camera point.

fun distanceToCamera(rc: RenderContext): Double

Distance from this tile's nearest point to the camera, cached per camera position and elevation timestamp so the fog cull and the subdivision test share one computation per frame. 3D globes only - offset (2D continuous) globes reposition tiles without moving the camera point.

fun distanceToCamera(rc: RenderContext): Double

Distance from this tile's nearest point to the camera, cached per camera position and elevation timestamp so the fog cull and the subdivision test share one computation per frame. 3D globes only - offset (2D continuous) globes reposition tiles without moving the camera point.

intersectsFrustum
Link copied to clipboard
fun intersectsFrustum(rc: RenderContext): Boolean

Indicates whether this tile's Cartesian extent intersects a frustum.

Indicates whether this tile's Cartesian extent intersects a frustum.

fun intersectsFrustum(rc: RenderContext): Boolean

Indicates whether this tile's Cartesian extent intersects a frustum.

fun intersectsFrustum(rc: RenderContext): Boolean

Indicates whether this tile's Cartesian extent intersects a frustum.

fun intersectsFrustum(rc: RenderContext): Boolean

Indicates whether this tile's Cartesian extent intersects a frustum.

intersectsSector
Link copied to clipboard
fun intersectsSector(sector: Sector): Boolean

Indicates whether this tile intersects a specified sector.

Indicates whether this tile intersects a specified sector.

fun intersectsSector(sector: Sector): Boolean

Indicates whether this tile intersects a specified sector.

fun intersectsSector(sector: Sector): Boolean

Indicates whether this tile intersects a specified sector.

fun intersectsSector(sector: Sector): Boolean

Indicates whether this tile intersects a specified sector.

isFullyFogged
Link copied to clipboard
open fun isFullyFogged(rc: RenderContext): Boolean

Indicates whether this tile is entirely past full fog saturation and can be culled from assembly. Tall tiles are kept while their peaks can still rise above the horizon (line of sight reaches the camera horizon plus the peak's own horizon distance), so mountain ranges visible beyond the geometric horizon never vanish. Assumes height limits were refreshed this frame - the assembly gates test intersectsFrustum first, which does that.

Indicates whether this tile is entirely past full fog saturation and can be culled from assembly. Tall tiles are kept while their peaks can still rise above the horizon (line of sight reaches the camera horizon plus the peak's own horizon distance), so mountain ranges visible beyond the geometric horizon never vanish. Assumes height limits were refreshed this frame - the assembly gates test intersectsFrustum first, which does that.

open fun isFullyFogged(rc: RenderContext): Boolean

Indicates whether this tile is entirely past full fog saturation and can be culled from assembly. Tall tiles are kept while their peaks can still rise above the horizon (line of sight reaches the camera horizon plus the peak's own horizon distance), so mountain ranges visible beyond the geometric horizon never vanish. Assumes height limits were refreshed this frame - the assembly gates test intersectsFrustum first, which does that.

open fun isFullyFogged(rc: RenderContext): Boolean

Indicates whether this tile is entirely past full fog saturation and can be culled from assembly. Tall tiles are kept while their peaks can still rise above the horizon (line of sight reaches the camera horizon plus the peak's own horizon distance), so mountain ranges visible beyond the geometric horizon never vanish. Assumes height limits were refreshed this frame - the assembly gates test intersectsFrustum first, which does that.

open fun isFullyFogged(rc: RenderContext): Boolean

Indicates whether this tile is entirely past full fog saturation and can be culled from assembly. Tall tiles are kept while their peaks can still rise above the horizon (line of sight reaches the camera horizon plus the peak's own horizon distance), so mountain ranges visible beyond the geometric horizon never vanish. Assumes height limits were refreshed this frame - the assembly gates test intersectsFrustum first, which does that.

mustSubdivide
Link copied to clipboard
open fun mustSubdivide(rc: RenderContext, detailFactor: Double): Boolean

Indicates whether this tile should be subdivided based on the current navigation state and a specified detail factor.

open fun mustSubdivide(rc: RenderContext, detailFactor: Double): Boolean

Indicates whether this tile should be subdivided based on the current navigation state and a specified detail factor.

open fun mustSubdivide(rc: RenderContext, detailFactor: Double): Boolean

Indicates whether this tile should be subdivided based on the current navigation state and a specified detail factor.

open fun mustSubdivide(rc: RenderContext, detailFactor: Double): Boolean

Indicates whether this tile should be subdivided based on the current navigation state and a specified detail factor.

open fun mustSubdivide(rc: RenderContext, detailFactor: Double): Boolean

Indicates whether this tile should be subdivided based on the current navigation state and a specified detail factor.

process
Link copied to clipboard
open suspend override fun <Resource> process(resource: Resource): Resource

Process resource according to specified algorithm implementation

expect open suspend override fun <Resource> process(resource: Resource): Resource

Process resource according to specified algorithm implementation

open suspend override fun <Resource> process(resource: Resource): Resource

Process resource according to specified algorithm implementation

open suspend override fun <Resource> process(resource: Resource): Resource

Process resource according to specified algorithm implementation

open suspend override fun <Resource> process(resource: Resource): Resource

Repeat image.onLoad event defined in RenderResourceCache to continue retrieval of original unprocessed image

subdivide
Link copied to clipboard
open override fun subdivide(tileFactory: TileFactory): Array<Tile>

Returns the four children formed by subdividing this tile. This tile's sector is subdivided into four quadrants as follows: Southwest; Southeast; Northwest; Northeast. A new tile is then constructed for each quadrant and configured with the next level within this tile's LevelSet and its corresponding row and column within that level. This returns null if this tile's level is the last level within its LevelSet.

open override fun subdivide(tileFactory: TileFactory): Array<Tile>

Returns the four children formed by subdividing this tile. This tile's sector is subdivided into four quadrants as follows: Southwest; Southeast; Northwest; Northeast. A new tile is then constructed for each quadrant and configured with the next level within this tile's LevelSet and its corresponding row and column within that level. This returns null if this tile's level is the last level within its LevelSet.

open override fun subdivide(tileFactory: TileFactory): Array<Tile>

Returns the four children formed by subdividing this tile. This tile's sector is subdivided into four quadrants as follows: Southwest; Southeast; Northwest; Northeast. A new tile is then constructed for each quadrant and configured with the next level within this tile's LevelSet and its corresponding row and column within that level. This returns null if this tile's level is the last level within its LevelSet.

open override fun subdivide(tileFactory: TileFactory): Array<Tile>

Returns the four children formed by subdividing this tile. This tile's sector is subdivided into four quadrants as follows: Southwest; Southeast; Northwest; Northeast. A new tile is then constructed for each quadrant and configured with the next level within this tile's LevelSet and its corresponding row and column within that level. This returns null if this tile's level is the last level within its LevelSet.

open override fun subdivide(tileFactory: TileFactory): Array<Tile>

Returns the four children formed by subdividing this tile. This tile's sector is subdivided into four quadrants as follows: Southwest; Southeast; Northwest; Northeast. A new tile is then constructed for each quadrant and configured with the next level within this tile's LevelSet and its corresponding row and column within that level. This returns null if this tile's level is the last level within its LevelSet.

subdivideToCache
Link copied to clipboard
open fun subdivideToCache(tileFactory: TileFactory, cache: LruMemoryCache<String, Array<Tile>>, cacheSize: Int): Array<Tile>

Returns the four children formed by subdividing this tile, drawing those children from a specified cache. The cache is checked for a child collection prior to subdividing. If one exists in the cache it is returned rather than creating a new collection of children. If a new collection is created in the same manner as subdivide and added to the cache.

open fun subdivideToCache(tileFactory: TileFactory, cache: LruMemoryCache<String, Array<Tile>>, cacheSize: Int): Array<Tile>

Returns the four children formed by subdividing this tile, drawing those children from a specified cache. The cache is checked for a child collection prior to subdividing. If one exists in the cache it is returned rather than creating a new collection of children. If a new collection is created in the same manner as subdivide and added to the cache.

open fun subdivideToCache(tileFactory: TileFactory, cache: LruMemoryCache<String, Array<Tile>>, cacheSize: Int): Array<Tile>

Returns the four children formed by subdividing this tile, drawing those children from a specified cache. The cache is checked for a child collection prior to subdividing. If one exists in the cache it is returned rather than creating a new collection of children. If a new collection is created in the same manner as subdivide and added to the cache.

open fun subdivideToCache(tileFactory: TileFactory, cache: LruMemoryCache<String, Array<Tile>>, cacheSize: Int): Array<Tile>

Returns the four children formed by subdividing this tile, drawing those children from a specified cache. The cache is checked for a child collection prior to subdividing. If one exists in the cache it is returned rather than creating a new collection of children. If a new collection is created in the same manner as subdivide and added to the cache.

open fun subdivideToCache(tileFactory: TileFactory, cache: LruMemoryCache<String, Array<Tile>>, cacheSize: Int): Array<Tile>

Returns the four children formed by subdividing this tile, drawing those children from a specified cache. The cache is checked for a child collection prior to subdividing. If one exists in the cache it is returned rather than creating a new collection of children. If a new collection is created in the same manner as subdivide and added to the cache.