LevelSetConfig

open class LevelSetConfig

Configuration values for a multi-resolution, hierarchical collection of tiles organized into levels of increasing resolution.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The geographic width and height of tiles in the first level (the lowest resolution) of the level set.

Link copied to clipboard

Determines the lowest resolution level number.

Link copied to clipboard

Determines how many levels to skip from retrieving texture during tile pyramid subdivision.

Link copied to clipboard

The number of levels in the level set.

Link copied to clipboard

The sector spanned by the level set.

Link copied to clipboard

The height in pixels of images associated with tiles in the level set, or the number of sample points in the latitudinal direction of elevation tiles associated with the level set.

Link copied to clipboard

Tile origin for the level set

Link copied to clipboard

The width in pixels of images associated with tiles in the level set, or the number of sample points in the longitudinal direction of elevation tiles associated with the level set.

Functions

Link copied to clipboard
fun numLevelsForMinResolution(radiansPerPixel: Double): Int

Returns the number of levels closest to the specified resolution, but does not exceed it. May be used to configure level sets where a not to exceed resolution is mandated. The result is correct for this configuration's current firstLevelDelta, tileWidth and tileHeight, and is invalid if any of these values change.

Link copied to clipboard
fun numLevelsForResolution(radiansPerPixel: Double): Int

Returns the number of levels necessary to achieve the specified resolution. The result is correct for this configuration's current firstLevelDelta, tileWidth and tileHeight, and is invalid if any of these values change.