MVTDataProvider

A Mapbox Vector Tiles (MVT) data provider. Loads .mvt or .pbf tiles, converting tiles dynamically (at runtime) into 3D Tiles.
This object is normally not instantiated directly, use MVTDataProvider.fromUrl.

new Cesium.MVTDataProvider()

Experimental

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

Extends

Members

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

Methods

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

Creates an MVTDataProvider from the specified URL template and options.
Name Type Description
url 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 MVT property name to use as feature ID.
Returns:

protected _createRuntimeTilesetOptions()

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