TilingScheme

external interface TilingScheme(source)

A tiling scheme for geometry or imagery on the surface of an ellipsoid. At level-of-detail zero, the coarsest, least-detailed level, the number of tiles is configurable. At level of detail one, each of the level zero tiles has four children, two in each direction. At level of detail two, each of the level one tiles has four children, two in each direction. This continues for as many levels as are present in the geometry or imagery source.

See also

Inheritors

Properties

Link copied to clipboard
abstract external var ellipsoid: Ellipsoid

Gets the ellipsoid that is tiled by the tiling scheme.

Link copied to clipboard
abstract external var projection: MapProjection

Gets the map projection used by the tiling scheme.

Link copied to clipboard
abstract external var rectangle: Rectangle

Gets the rectangle, in radians, covered by this tiling scheme.

Functions

Link copied to clipboard
abstract external fun getNumberOfXTilesAtLevel(level: Int): Int

Gets the total number of tiles in the X direction at a specified level-of-detail.

Link copied to clipboard
abstract external fun getNumberOfYTilesAtLevel(level: Int): Int

Gets the total number of tiles in the Y direction at a specified level-of-detail.

Link copied to clipboard
abstract external fun positionToTileXY(position: Cartographic, level: Int, result: Cartesian2? = definedExternally): Cartesian2

Calculates the tile x, y coordinates of the tile containing a given cartographic position.

Link copied to clipboard
abstract external fun rectangleToNativeRectangle(rectangle: Rectangle, result: Rectangle? = definedExternally): Rectangle

Transforms a rectangle specified in geodetic radians to the native coordinate system of this tiling scheme.

Link copied to clipboard
abstract external fun tileXYToNativeRectangle(x: Double, y: Double, level: Int, result: Rectangle? = definedExternally): Rectangle

Converts tile x, y coordinates and level to a rectangle expressed in the native coordinates of the tiling scheme.

Link copied to clipboard
abstract external fun tileXYToRectangle(x: Double, y: Double, level: Int, result: Rectangle? = definedExternally): Rectangle

Converts tile x, y coordinates and level to a cartographic rectangle in radians.