| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2024-11-08 11:00:30 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2024-11-27 19:16:37 |
| | | * @LastEditTime: 2024-12-25 11:30:12 |
| | | * @FilePath: \bigScreen\src\views\companyInfo\index.vue |
| | | * @Description: |
| | | * |
| | |
| | | window.$viewer.addLayer(curCompanyWall) |
| | | |
| | | data.companyInfo = JSON.parse(localStorage.getItem('companyInfo')) |
| | | let curCompany = qyfw.features.find(item => item.properties.name == data.companyInfo.name) |
| | | // let curCompany = qyfw.features.find(item => item.properties.name == data.companyInfo.name) |
| | | |
| | | let wall = new DC.Wall( |
| | | curCompany.geometry.coordinates[0].map(d => [...d, 125].join(',')).join(';') |
| | | ) |
| | | // let wall = new DC.Wall( |
| | | // curCompany.geometry.coordinates[0].map(d => [...d, 125].join(',')).join(';') |
| | | // ) |
| | | |
| | | wall.setStyle({ |
| | | material: new DC.WallTrailMaterialProperty({ |
| | | color: window.$Cesium.Color.fromBytes(255, 255, 0, 180), |
| | | speed: 10 |
| | | }) |
| | | }) |
| | | curCompanyWall.addOverlay(wall) |
| | | // wall.setStyle({ |
| | | // material: new DC.WallTrailMaterialProperty({ |
| | | // color: window.$Cesium.Color.fromBytes(255, 255, 0, 180), |
| | | // speed: 10 |
| | | // }) |
| | | // }) |
| | | // curCompanyWall.addOverlay(wall) |
| | | |
| | | onMounted(() => { |
| | | window.$viewer && window.$viewer.flyTo(curCompanyWall) |