UrlTemplate3DTilesDataProvider

Base provider for URL-template vector sources that are rendered through a runtime-generated 3D Tiles tileset.

new Cesium.UrlTemplate3DTilesDataProvider(urlTemplate, options)

Name Type Description
urlTemplate Resource | string URL template containing {z}, {x}, and {y} placeholders.
options object optional Provider options.
Name Type Default Description
minZoom number 0 optional Minimum zoom level represented in the generated tileset.
maxZoom number 14 optional Maximum zoom level represented in the generated tileset.
extent Rectangle optional Optional geographic extent in radians to constrain the generated tile tree.
featureIdProperty string optional Feature property name to use as feature ID when supported by content decoding.
Experimental

This feature is not final and is subject to change without Cesium's standard deprecation policy.

Members

Optional geographic extent in radians used to generate tile headers.
Resource derived from the URL template.
Determines if the generated tileset is shown.
Backing 3D Tileset.
URL template containing {z}/{x}/{y}.

Methods

async static Cesium.UrlTemplate3DTilesDataProvider.fromUrl(url, options)Promise.<UrlTemplate3DTilesDataProvider>

Creates a provider from a URL template.
Name Type Description
url Resource | string URL template containing {z}, {x}, and {y} placeholders.
options object optional Provider options.
Returns:

protected _configureTileset(_tileset)

Name Type Description
_tileset Cesium3DTileset

protected _createCodec()object

Subclasses must return a runtime content codec describing how to turn a downloaded tile payload into a Cesium3DTileContent. See Cesium3DTileset#_runtimeContentCodec for the expected shape.
Returns:

protected _createRuntimeTilesetOptions()

protected _createTilesetLoadOptions()object

Returns:
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.