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.

方法

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

Creates an MVTDataProvider from the specified URL template and options.
参数名称 类型 描述信息
url Resource | string URL template, containing {z}, {x}, and {y} placeholders.
options object 可选 Provider options.
参数名称 类型 默认值 描述信息
minZoom number 0 可选 Minimum zoom level represented in the generated tileset.
maxZoom number 14 可选 Maximum zoom level represented in the generated tileset.
extent Rectangle 可选 Optional geographic extent in radians to constrain the generated tile tree.
featureIdProperty string 可选 MVT property name to use as feature ID.