fromUrl

Creates a TileMapServiceImageryProvider from the specified url.

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))
});

Return

A promise that resolves to the created TileMapServiceImageryProvider.

Parameters

url

Path to image tiles on server.

options

Object describing initialization options.

See also