Layer = new Cesium.WebMapTileServiceImageryProvider({
url: 'http://localhost:8080/geowebcache/service/wmts?',
layer : 'nightlight',
style : 'default',
tileMatrixSetID : 'EPSG:0_nightlight',
tileMatrixLabels : ['EPSG:0_nightlight:0','EPSG:0_nightlight:1','EPSG:0_nightlight:2','EPSG:0_nightlight:3','EPSG:0_nightlight:4','EPSG:0_nightlight:5','EPSG:0_nightlight:6','EPSG:0_nightlight:7'],
format : 'image/png'
});
cesium里有叫:
Cesium.SceneTransforms.wgs84ToWindowCoordinates(scene, position, result)
var mapsingle = new Cesium.SingleTileImageryProvider({
url: 'sampledata/images/globe.jpg'
});
然后加载