l7CityBuildingLayer加载建筑窗户不生效 #2277
Unanswered
ikun159357
asked this question in
Q&A
Replies: 1 comment 1 reply
-
官网Demo 原样换一下数据呢? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
配置代码如下:


wuhan_buildingLayer.source(buildData.data).size('Elevation', h => h).color("rgb(242,242,250,1.0)")
.animate({
enable: true,
})
.active({
color: '#0ff',
mix: 0.5
})
.style({
opacity: 0.7,
baseColor: 'rgb(16, 16, 16)',
windowColor: 'rgb(30, 60, 89)',
brightColor: 'rgb(255, 176, 38)',
sweep: {
enable: true,
sweepRadius: 2,
sweepColor: '#1990FF',
sweepSpeed: 0.5,
sweepCenter: [114.30, 30.50]
}
}).filter('Elevation', h => h > 35)//筛选楼房高于35米
scene.addLayer(wuhan_buildingLayer)
Beta Was this translation helpful? Give feedback.
All reactions