cesiumlab / cesiumlab/XbsjEarthUI
我想点击某一建筑可以实现吗
Open
documentation
question
- Dominant language
- JavaScript
- Stars
- 734
- Forks
- 193
- PR merge metrics
- No merged PRs in 30d
Description

@vtxf 大佬,我想点击某一建筑可以实现吗?
---
是的,shp中每栋楼有id属性的话,就可以点击获取响应的数据
拾取tileset中单个部件的话,还需要使用Cesium原生API scene.pick来操作,拾取到相应的id后,再根据id设置style
不能用onclick
Contributor guide
No contributing guide indexed for this repository
Research direction
No repository files or tests are named. Start by reviewing the Cesium scene.pick flow and the tileset or SHP building identifiers described in the issue; the work would need a defined selection behavior and confirmation that the selected building can be mapped by id and styled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- computer-graphics, frontend, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100