LevelSet

constructor(sector: Sector, tileOrigin: Sector, firstLevelDelta: Location, numLevels: Int, tileWidth: Int, tileHeight: Int, levelOffset: Int = 0, firstLevelNumber: Int = 0)

Constructs a level set with specified parameters.

Parameters

sector

the sector spanned by this level set

tileOrigin

the origin for this level set

firstLevelDelta

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

numLevels

the number of levels in the level set

tileWidth

the height in pixels of images associated with tiles in this level set, or the number of sample points in the longitudinal direction of elevation tiles associate with this leve set

tileHeight

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

levelOffset

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

firstLevelNumber

determines the lowest resolution level number. .

Throws

If any dimension is zero


constructor(levelSet: LevelSet)

Constructs a level set with parameters from a specified level set.

Parameters

levelSet

source level set


constructor(config: LevelSetConfig)

Constructs a level set with parameters from a specified configuration. The configuration's sector must be non-null, its first level delta must be positive, its number of levels must be 1 or more, and its tile width and tile height must be 1 or greater.

Parameters

config

the configuration for this level set