• 周六. 7 月 27th, 2024

5G编程聚合网

5G时代下一个聚合的编程学习网

热门标签

设置sceneView的背景

admin

11 月 28, 2021

设置sceneView的背景

const view = new SceneView({

  container: "viewDiv",

  map: map,

//高亮显示选中的图层

  highlightOptions: {

            haloOpacity: 0

          },

  environment: {

//设置背景

    background: {

      type: "color", // autocasts as new ColorBackground()

      color: [255, 252, 244, 1]

    },

    // disable stars

    starsEnabled: false,

    //disable atmosphere

    atmosphereEnabled: false

  }

});

发表回复