Skip to content

xgis-cesium v0.1.7


xgis-cesium / CustomGeographicTilingScheme

Class: CustomGeographicTilingScheme ​

Defined in: src/imagery/tiling-scheme/CustomGeographicTilingScheme.js:8

Extends ​

  • GeographicTilingScheme

Constructors ​

new CustomGeographicTilingScheme() ​

new CustomGeographicTilingScheme(options): CustomGeographicTilingScheme

Defined in: src/imagery/tiling-scheme/CustomGeographicTilingScheme.js:9

Parameters ​

options ​

Returns ​

CustomGeographicTilingScheme

Overrides ​

Cesium.GeographicTilingScheme.constructor

Properties ​

_origin ​

_origin: any

Defined in: src/imagery/tiling-scheme/CustomGeographicTilingScheme.js:11


_resolutions ​

_resolutions: any

Defined in: src/imagery/tiling-scheme/CustomGeographicTilingScheme.js:14


_tileSize ​

_tileSize: any

Defined in: src/imagery/tiling-scheme/CustomGeographicTilingScheme.js:13


_zoomOffset ​

_zoomOffset: any

Defined in: src/imagery/tiling-scheme/CustomGeographicTilingScheme.js:12


ellipsoid ​

ellipsoid: Ellipsoid

Defined in: node_modules/@cesium/engine/index.d.ts:6826

Gets the ellipsoid that is tiled by this tiling scheme.

Inherited from ​

Cesium.GeographicTilingScheme.ellipsoid


projection ​

projection: MapProjection

Defined in: node_modules/@cesium/engine/index.d.ts:6834

Gets the map projection used by this tiling scheme.

Inherited from ​

Cesium.GeographicTilingScheme.projection


rectangle ​

rectangle: Rectangle

Defined in: node_modules/@cesium/engine/index.d.ts:6830

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

Inherited from ​

Cesium.GeographicTilingScheme.rectangle

Accessors ​

zoomOffset ​

Get Signature ​

get zoomOffset(): any

Defined in: src/imagery/tiling-scheme/CustomGeographicTilingScheme.js:17

Returns ​

any

Methods ​

getNumberOfXTilesAtLevel() ​

getNumberOfXTilesAtLevel(level): number

Defined in: node_modules/@cesium/engine/index.d.ts:6840

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

Parameters ​

level ​

number

The level-of-detail.

Returns ​

number

The number of tiles in the X direction at the given level.

Inherited from ​

Cesium.GeographicTilingScheme.getNumberOfXTilesAtLevel


getNumberOfYTilesAtLevel() ​

getNumberOfYTilesAtLevel(level): number

Defined in: node_modules/@cesium/engine/index.d.ts:6846

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

Parameters ​

level ​

number

The level-of-detail.

Returns ​

number

The number of tiles in the Y direction at the given level.

Inherited from ​

Cesium.GeographicTilingScheme.getNumberOfYTilesAtLevel


positionToTileXY() ​

positionToTileXY(position, level, result): any

Defined in: src/imagery/tiling-scheme/CustomGeographicTilingScheme.js:41

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

Parameters ​

position ​

any

The position.

level ​

any

The tile level-of-detail. Zero is the least detailed.

result ​

any

The instance to which to copy the result, or undefined if a new instance should be created.

Returns ​

any

The specified 'result', or a new object containing the tile x, y coordinates if 'result' is undefined.

Overrides ​

Cesium.GeographicTilingScheme.positionToTileXY


rectangleToNativeRectangle() ​

rectangleToNativeRectangle(rectangle, result?): Rectangle

Defined in: node_modules/@cesium/engine/index.d.ts:6856

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

Parameters ​

rectangle ​

Rectangle

The rectangle to transform.

result? ​

Rectangle

The instance to which to copy the result, or undefined if a new instance should be created.

Returns ​

Rectangle

The specified 'result', or a new object containing the native rectangle if 'result' is undefined.

Inherited from ​

Cesium.GeographicTilingScheme.rectangleToNativeRectangle


tileXYToNativeRectangle() ​

tileXYToNativeRectangle(x, y, level, result?): Rectangle

Defined in: node_modules/@cesium/engine/index.d.ts:6868

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

Parameters ​

x ​

number

The integer x coordinate of the tile.

y ​

number

The integer y coordinate of the tile.

level ​

number

The tile level-of-detail. Zero is the least detailed.

result? ​

any

The instance to which to copy the result, or undefined if a new instance should be created.

Returns ​

Rectangle

The specified 'result', or a new object containing the rectangle if 'result' is undefined.

Inherited from ​

Cesium.GeographicTilingScheme.tileXYToNativeRectangle


tileXYToRectangle() ​

tileXYToRectangle(x, y, level, result): any

Defined in: src/imagery/tiling-scheme/CustomGeographicTilingScheme.js:21

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

Parameters ​

x ​

any

The integer x coordinate of the tile.

y ​

any

The integer y coordinate of the tile.

level ​

any

The tile level-of-detail. Zero is the least detailed.

result ​

any

The instance to which to copy the result, or undefined if a new instance should be created.

Returns ​

any

The specified 'result', or a new object containing the rectangle if 'result' is undefined.

Overrides ​

Cesium.GeographicTilingScheme.tileXYToRectangle