设置sceneView的背景
设置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 } });