| | |
| | | this.$store.commit('SET_TELEPHONE', item.telephone) |
| | | this.$store.commit('SET_INTRODUCETEXT', item.introduce) |
| | | this.$store.commit('SET_POPUPIMGATLAS', imgArr) |
| | | if (item.videourl && item.videourl != '') { |
| | | this.$store.commit('SET_MONITORURL', item.videourl) |
| | | } |
| | | |
| | | this.newPopup(item) |
| | | this.viewer.flyToPosition( |
| | | new this.DC.Position(Number(item.longitude), Number(item.latitude), 3000, Number(item.heading), Number(item.pitch), Number(item.roll)), |
| | | new this.DC.Position(Number(item.longitude), Number(item.latitude), 300, Number(item.heading), Number(item.pitch), Number(item.roll)), |
| | | function () { |
| | | }, |
| | | 3 |
| | |
| | | }, |
| | | |
| | | newPopup (item) { |
| | | const position = this.DC.Transform.transformWGS84ToCartesian(new this.DC.Position(Number(item.longitude), Number(item.latitude), Number(item.alt), Number(item.heading), Number(item.pitch), Number(item.roll))) |
| | | const position = this.DC.Transform.transformWGS84ToCartesian(new this.DC.Position(Number(item.longitude), Number(item.latitude), Number(item.alt))) |
| | | // eslint-disable-next-line no-unused-vars |
| | | var popup = new this.DC.DivForms(this.viewer, { |
| | | domId: 'divFormsDomBox', |
| | |
| | | }) |
| | | |
| | | this.$store.commit('SET_PANORAMAPOPUP', false) |
| | | this.$store.commit('SET_MONITORPOPUP', false) |
| | | this.$store.commit('SET_DETAILSPOPUP', true) |
| | | }, |
| | | |
| | |
| | | width: 100%; |
| | | height: 36px; |
| | | line-height: 36px; |
| | | background: rgba(0, 131, 176, 0.9); /* fallback for old browsers */ |
| | | background: rgba(0, 131, 176, 0.7); /* fallback for old browsers */ |
| | | background: -webkit-linear-gradient( |
| | | to left, |
| | | rgba(0, 180, 219, 0.9), |
| | | rgba(0, 131, 176, 0.9) |
| | | rgba(0, 180, 219, 0.7), |
| | | rgba(0, 131, 176, 0.7) |
| | | ); /* Chrome 10-25, Safari 5.1-6 */ |
| | | background: linear-gradient( |
| | | to left, |
| | | rgba(0, 180, 219, 0.9), |
| | | rgba(0, 131, 176, 0.9) |
| | | rgba(0, 180, 219, 0.7), |
| | | rgba(0, 131, 176, 0.7) |
| | | ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ |
| | | |
| | | .title { |
| | |
| | | margin-top: 0px; |
| | | text-align: center; |
| | | overflow-y: auto; |
| | | background: rgba(0, 131, 176, 0.9); /* fallback for old browsers */ |
| | | background: rgba(0, 131, 176, 0.7); /* fallback for old browsers */ |
| | | background: -webkit-linear-gradient( |
| | | to left, |
| | | rgba(0, 180, 219, 0.9), |
| | | rgba(0, 131, 176, 0.9) |
| | | rgba(0, 180, 219, 0.7), |
| | | rgba(0, 131, 176, 0.7) |
| | | ); /* Chrome 10-25, Safari 5.1-6 */ |
| | | background: linear-gradient( |
| | | to left, |
| | | rgba(0, 180, 219, 0.9), |
| | | rgba(0, 131, 176, 0.9) |
| | | rgba(0, 180, 219, 0.7), |
| | | rgba(0, 131, 176, 0.7) |
| | | ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ |
| | | border-radius: 0 0 8px 8px; |
| | | |