| | |
| | | import leftNavsData from './pc/leftNavsData' |
| | | window.labelLayer = null; |
| | | window.divIcon = null; |
| | | window.divIcononces = null; |
| | | window.labelLayer = null |
| | | window.divIcon = null |
| | | window.divIcononces = null |
| | | |
| | | const popupParams = { |
| | | state: { |
| | |
| | | destination: global.DC.Namespace.Cesium.Cartesian3.fromDegrees( |
| | | +val.jd, |
| | | +val.wd, |
| | | 400.0 |
| | | 950.0 |
| | | ), |
| | | orientation: { |
| | | // 指向 |
| | |
| | | // const position = e.position |
| | | const lntLat = [e.overlay._position._lng, e.overlay._position._lat] |
| | | // console.log(position, lntLat, list[i], state.myviewer, "see") |
| | | new global.DC.DivForms(global.viewer, { |
| | | var box = new global.DC.DivForms(global.viewer, { |
| | | domId: 'labelLayerid', |
| | | position: [ |
| | | global.DC.Transform.transformWGS84ToCartesian( |
| | |
| | | destination: global.DC.Namespace.Cesium.Cartesian3.fromDegrees( |
| | | lntLat[0], |
| | | lntLat[1], |
| | | 400.0 |
| | | 950.0 |
| | | ), |
| | | orientation: { |
| | | // 指向 |
| | |
| | | state.addSignList = !state.addSignList |
| | | return |
| | | } |
| | | for (let i in list) { |
| | | for (const i in list) { |
| | | window.divIcon = new global.DC.DivIcon( |
| | | new global.DC.Position( |
| | | Number(list[i].jd), |
| | |
| | | // const position = e.position |
| | | const lntLat = [e.overlay._position._lng, e.overlay._position._lat] |
| | | // console.log(position, lntLat, list[i], state.myviewer, "see") |
| | | new global.DC.DivForms(global.viewer, { |
| | | var box = new global.DC.DivForms(global.viewer, { |
| | | domId: 'labelLayerid', |
| | | position: [ |
| | | global.DC.Transform.transformWGS84ToCartesian( |
| | |
| | | destination: global.DC.Namespace.Cesium.Cartesian3.fromDegrees( |
| | | lntLat[0], |
| | | lntLat[1], |
| | | 400.0 |
| | | 950.0 |
| | | ), |
| | | orientation: { |
| | | // 指向 |