在vue cesium项目中调用代理地址的wmts影像服务失败,出现504 (Gateway Timeout)
调用代码如下:
let imageryProvider0 = new Cesium.WebMapTileServiceImageryProvider({
url:"http://182.16.100.21:8195/portalproxy/35sxc8zq/wmts/2021卫星遥感影像/wmts",
layer: "2021卫星遥感影像",
style: "default",
tileMatrixSetID: "2021卫星遥感影像",
maximumLevel: 22,
format: "png",
});
imageryProvider0.name = "2021年卫星遥感影像";
let imglayer_wx_yx = viewer.imageryLayers.addImageryProvider(imageryProvider0 );
imglayer_wx_yx.show = true;
同样的项目中,我调用http://182.16.100.25:6080的arcgis服务和http://182.16.100.21:8090的倾斜摄影服务都成功了.
并且我按此种方式调用多个wmts服务,地球也会消失