| | |
| | | // img: require("@/assets/img/navigation/tj.png"), |
| | | // imgActive: require("@/assets/img/navigation/tjA.png"), |
| | | // }, |
| | | { |
| | | id: "0004sc", |
| | | name: "位置", |
| | | attr: "location", |
| | | img: require("@/assets/img/navigation/sc.png"), |
| | | imgActive: require("@/assets/img/navigation/scA.png"), |
| | | }, |
| | | // { |
| | | // id: "0004sc", |
| | | // name: "位置", |
| | | // attr: "location", |
| | | // img: require("@/assets/img/navigation/sc.png"), |
| | | // imgActive: require("@/assets/img/navigation/scA.png"), |
| | | // }, |
| | | // { |
| | | // id: '0005sz', |
| | | // name: '设置', |
| | |
| | | }, |
| | | methods: { |
| | | trueNorth() { |
| | | sgworld.Navigate.flyToPointsInterest({ |
| | | destination: Viewer.camera.position, |
| | | orientation: { |
| | | heading: 0, |
| | | pitch: Viewer.camera.pitch, |
| | | roll: 0, |
| | | }, |
| | | }); |
| | | // sgworld.Navigate.flyToPointsInterest({ |
| | | // destination: Viewer.camera.position, |
| | | // orientation: { |
| | | // heading: 0, |
| | | // pitch: Viewer.camera.pitch, |
| | | // roll: 0, |
| | | // }, |
| | | // }); |
| | | }, |
| | | }, |
| | | }; |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import store from "@/utils/store.js"; |
| | | import store from "@/utils/store2.js"; |
| | | import directionPanel from './directionPanel.vue'; |
| | | export default { |
| | | components: { |
| | |
| | | <!-- 位置面板 --> |
| | | <my-collection-panel></my-collection-panel> |
| | | <!-- 指北针面板 --> |
| | | <!-- <my-direction-panel></my-direction-panel> --> |
| | | <my-direction-panel></my-direction-panel> |
| | | <!-- 新增收藏面板 --> |
| | | <my-add-collection-panel></my-add-collection-panel> |
| | | <!-- 窨井、摄像头统计面板 --> |