1.加载cesiumlab切的影像
var labImg= viewer.scene.imageryLayers.addImageryProvider(
new Cesium.UrlTemplateImageryProvider({
url:'http://192.168.1.25:8080/DOMtms/{z}/{x}/{y}.png',
fileExtension : "png"
})
);
2.标准TMS瓦片
var labImg= viewer.scene.imageryLayers.addImageryProvider(
new Cesium.TileMapServiceImageryProvider({
url:'http://192.168.1.25:8080/DOMtms/',
})
);
两种加载方式是不一样的!