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.

Methods

async static Cesium.MVTDataProvider.fromUrl(url, options)

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.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.