A TerrainProvider that produces terrain geometry by tessellating height maps
retrieved from an ArcGIS ImageServer.
alias ArcGisImageServerTerrainProvider
The options object takes the following properties
{String} options.url The URL of the ArcGIS ImageServer service.
{String} [options.token] The authorization token to use to connect to the service.
{Object} [options.proxy] A proxy to use for requests. This object is expected to have a getURL function which returns the proxied URL, if needed.
{TilingScheme} [options.tilingScheme] The tiling scheme specifying how the terrain
is broken into tiles. If this parameter is not provided, a GeographicTilingScheme
is used.
{Ellipsoid} [options.ellipsoid] The ellipsoid. If the tilingScheme is specified,
this parameter is ignored and the tiling scheme's ellipsoid is used instead.
If neither parameter is specified, the WGS84 ellipsoid is used.
{Credit|String} [options.credit] The credit, which will is displayed on the canvas.
Annotations
@RawJSType()@native()@JSName(...)
Example:
var terrainProvider = new Cesium.ArcGisImageServerTerrainProvider({
url : 'https://elevation.arcgisonline.com/ArcGIS/rest/services/WorldElevation/DTMEllipsoidal/ImageServer',
token : 'KED1aF_I4UzXOHy3BnhwyBHU4l5oY6rO6walkmHoYqGp4XyIWUd5YZUC1ZrLAzvV40pR6gBXQayh0eFA8m6vPg..',
proxy : new Cesium.DefaultProxy('/terrain/')
});
viewer.terrainProvider = terrainProvider;
A TerrainProvider that produces terrain geometry by tessellating height maps retrieved from an ArcGIS ImageServer.
alias ArcGisImageServerTerrainProvider
var terrainProvider = new Cesium.ArcGisImageServerTerrainProvider({ url : 'https://elevation.arcgisonline.com/ArcGIS/rest/services/WorldElevation/DTMEllipsoidal/ImageServer', token : 'KED1aF_I4UzXOHy3BnhwyBHU4l5oY6rO6walkmHoYqGp4XyIWUd5YZUC1ZrLAzvV40pR6gBXQayh0eFA8m6vPg..', proxy : new Cesium.DefaultProxy('/terrain/') }); viewer.terrainProvider = terrainProvider;
TerrainProvider