| | |
| | | </a-modal> |
| | | <!-- 编辑 --> |
| | | <a-modal class="edit-modal-box" v-model:visible="editVisible" title="编辑航线名称" :get-container="() => projectWayLine" |
| | | :cancel-button-props="{ |
| | | ghost: true, |
| | | }" @ok="handleEditName"> |
| | | :cancel-button-props="{ ghost: true }" @ok="handleEditName"> |
| | | <div class="wayline-title">航线名称</div> |
| | | <a-input v-model:value="currentWayLine.name" placeholder="请输入航线名称" /> |
| | | </a-modal> |
| | |
| | | id: 'clickBox', |
| | | position, |
| | | box: { |
| | | dimensions: new Cesium.Cartesian3(10.0, 10.0, 99999), |
| | | dimensions: new Cesium.Cartesian3(10.0, 10.0, 120), |
| | | material: Cesium.Color.MEDIUMSPRINGGREEN.withAlpha(0.1), |
| | | outline: true, |
| | | outlineColor: Cesium.Color.MEDIUMSPRINGGREEN.withAlpha(0.8), |
| | | // outline: true, |
| | | // outlineColor: Cesium.Color.MEDIUMSPRINGGREEN.withAlpha(0.8), |
| | | heightReference: true |
| | | } |
| | | } |
| | | global.$viewer.entities.add(entity) |
| | | const boxEntity = global.$viewer.entities.add(entity) |
| | | global.$viewer.flyTo(boxEntity, { |
| | | duration: 3, |
| | | }) |
| | | } |
| | | |
| | | function onScroll (e: any) { |