TileMapServiceImageryProvider

To construct a TileMapServiceImageryProvider, call [TileMapServiceImageryProvider.fromUrl]. Do not call the constructor directly.

An imagery provider that provides tiled imagery as generated by MapTiler, GDAL2Tiles, etc.

const tms = await TileMapServiceImageryProvider.fromUrl(
"../images/cesium_maptiler/Cesium_Logo_Color", {
fileExtension: 'png',
maximumLevel: 4,
rectangle: new Rectangle(
Math.toRadians(-120.0),
Math.toRadians(20.0),
Math.toRadians(-60.0),
Math.toRadians(40.0))
});

See also

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Initialization options for the TileMapServiceImageryProvider constructor