GeoTileCoordinatesImageryProvider

new Cesium.GeoTileCoordinatesImageryProvider()

瓦片格网,可用于调试。
Name Type Default Description
options.tilingScheme TilingScheme new GeographicTilingScheme() optional 切片规则,支持的切片规则包括GeographicTilingScheme、WebMercatorTilingScheme、GeoProjectedTilingScheme。
options.ellipsoid Ellipsoid optional 椭球,默认使用WGS84椭球。
options.color Color Color.YELLOW optional 绘制格网的颜色
options.tileWidth Number 256 optional 瓦片宽度
options.tileHeight Number 256 optional 瓦片高度
Author:
  • liuhonglei
Example:
var tilingScheme = new Cesium.GeoProjectedTilingScheme({
     viewer: viewer,
     resolutions: [264.5838625010584, 132.2919312505292, 66.1459656252646, 33.0729828126323, 16.933367200067735, 8.466683600033868, 4.233341800016934, 2.116670900008467],
     origin: [-5123200.0, 1.00021E7],
     extent: [499988.31453309144, 4540539.362186298, 584163.6431428336, 4652136.257245313],
     matrixWidth: 85,
     matrixHeight: 81,
     identifier: 0
});
var provider = new Cesium.GeoTileCoordinatesImageryProvider({
     tilingScheme: tilingScheme
});
viewer.imageryLayers.addImageryProvider(provider);