【问题标题】:Background image not changed in Cesium Map铯地图中的背景图像未更改
【发布时间】:2021-09-09 15:45:07
【问题描述】:

我想更改天空的背景图像,提供自定义图像但它没有改变

var scene = viewer.scene;
scene.skyBox = new Cesium.SkyBox({
sources : {
positiveX : 'images/galaxy.jpg',
negativeX : 'images/galaxy.jpg',
positiveY : 'images/galaxy.jpg',
negativeY : 'images/galaxy.jpg',
positiveZ : 'images/galaxy.jpg',
negativeZ : 'images/galaxy.jpg',
}
});

在本地系统中我已经给出了这些路径,但在沙堡演示中我没有添加图像。

Sandcastle Link

任何建议,谢谢

【问题讨论】:

    标签: javascript cesium


    【解决方案1】:

    确保图片网址正确无误。 看到这个Sandcastle link

    【讨论】:

    猜你喜欢
    • 2016-01-09
    • 2020-12-16
    • 2011-12-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多