EmbeddedTileServiceImageryProvider

new Cesium.EmbeddedTileServiceImageryProvider(options)

Name Type Description
options Object Object with the following properties:
Name Type Description
id String The ID of the embedded imagery.
path String The path to the embedded imagery.
credit String | Credit optional A credit for the imagery.
Example:
let imageryProvider = new EmbeddedTileServiceImageryProvider({
   id: "BlueMarble",
   path: "200406",
});

Members

static readonly Cesium.EmbeddedTileServiceImageryProvider.availableLayers : Array.<Object>

Gets or sets the clock instance used for time dynamic imagery.
Gets the credit to display when this imagery provider is active.
Gets an event that is raised when the imagery provider encounters an asynchronous error.
Gets the format of the imagery tiles.
Gets a value indicating whether the images provided by this imagery provider include an alpha channel.
Gets the maximum zoom level.
Gets the minimum zoom level.
Gets the proxy used by this provider.
Gets a value indicating whether the provider is ready for use.

readonly readyPromise : Promise.<Boolean>

Gets a promise that resolves to true when the provider is ready for use.
Gets the rectangle, in radians, covered by this imagery provider.
Gets the tile discard policy.
Gets the height of each tile, in pixels.
Gets the width of each tile, in pixels.
Gets the tiling scheme used by this provider.
Gets or sets the time intervals used for time dynamic imagery.
Gets the URL of the imagery service.

Methods

Gets the credits to be displayed when a given tile is displayed.
Name Type Description
x Number The tile X coordinate.
y Number The tile Y coordinate.
level Number The tile level.
Returns:
The credits to be displayed when the tile is displayed.

pickFeatures(x, y, level, longitude, latitude)undefined

Picking features is not currently supported by this imagery provider, so this function always returns undefined.
Name Type Description
x Number The tile X coordinate.
y Number The tile Y coordinate.
level Number The tile level.
longitude Number The longitude at which to pick features.
latitude Number The latitude at which to pick features.
Returns:
Undefined since picking features is not supported.

requestImage(x, y, level, request)Promise.<ImageryTypes>|undefined

Requests the image for a given tile.
Name Type Description
x Number The tile X coordinate.
y Number The tile Y coordinate.
level Number The tile level.
request Request The request object.
Returns:
A promise to an image or undefined if the image cannot be requested.
Need help? [email protected]