Compare commits

...

2 Commits

Author SHA1 Message Date
吴延福 c6caff4dba Merge commit '3d3871d14ce3f4906597b22c630658ef312e8c96' 2023-05-19 16:39:18 +08:00
吴延福 80dab92333 feat:新增导览路径 2023-05-19 16:39:07 +08:00
3 changed files with 318 additions and 332 deletions

View File

@ -8,351 +8,169 @@ export default [
index: 0, index: 0,
time: 1, time: 1,
location: [ location: [
11660670.518652, 11660670.708594,
3692632.855903, 3692632.916387,
4.504272, 3.692967,
], ],
rotation: [ rotation: [
9.212265, -1.71211,
85.1996, 84.737839,
0 0
] ]
}, { }, {
index: 1, index: 1,
time: 3, time: 4,
location: [ location: [
11660674.328477, 11660675.357031,
3692587.477285, 3692582.194717,
4.504672, 3.692967,
], ],
rotation: [ rotation: [
9.212265, -1.71211,
85.1996, 84.737839,
0 0
] ]
}, { }, {
index: 2, index: 2,
time: 5, time: 10,
location: [ location: [
11660725.277656, 11660790.68,
3692580.909819, 3692578.670381,
6.122797, 3.940162,
], ],
rotation: [ rotation: [
-22.317095, -4.441037,
-3.568558, 0.266969,
0 0
] ]
}, { }, {
index: 3, index: 3,
time: 7, time: 20,
location: [ location: [
11660734.213076, 11660815.647656,
3692547.098057, 3692475.315049,
5.908682, 4.356609,
], ],
rotation: [ rotation: [
-17.956867, -10.672601,
79.712875, 77.519897,
0 0
] ]
}, { }, {
index: 4, index: 4,
time: 9, time: 25,
location: [ location: [
11660776.010107, 11660850.858906,
3692541.431582, 3692449.575669,
6.293452, 4.325723,
], ],
rotation: [ rotation: [
-20.28105, -10.074419,
3.962223, 26.487694,
0 0
] ]
}, { }, {
index: 5, index: 5,
time: 11, time: 45,
location: [ location: [
11660805.903042, 11660978.253594,
3692461.372598, 3692462.090912,
5.804204, 4.246001,
], ],
rotation: [ rotation: [
-10.623485, -10.441528,
67.636337, -6.958658,
0 0
] ]
}, { }, {
index: 6, index: 6,
time: 13, time: 55,
location: [ location: [
11660899.714749, 11661025.49375,
3692445.007969, 3692505.110029,
5.92839, 4.301797,
], ],
rotation: [ rotation: [
-13.034835, -11.557861,
4.850405, -43.91748,
0 0
] ]
}, { }, {
index: 7, index: 7,
time: 14, time: 65,
location: [ location: [
11660907.407043, 11661054.160781,
3692430.222969, 3692588.231895,
8.493546, 4.036361,
], ],
rotation: [ rotation: [
-12.607244, -6.363414,
82.858612, -75.600883,
0 0
] ]
}, { }, {
index: 8, index: 8,
time: 15, time: 75,
location: [ location: [
11660908.523486, 11661075.833906,
3692427.503809, 3692598.365898,
8.679598, 4.265082,
], ],
rotation: [ rotation: [
-16.231424, -10.83462,
164.095078, -17.382868,
0 0
] ]
}, { }, {
index: 9, index: 9,
time: 16, time: 80,
location: [ location: [
11660905.773669, 11661086.055,
3692428.441328, 3692626.798828,
11.116418, 4.593668,
], ],
rotation: [ rotation: [
-16.260296, -11.708685,
-97.713768, -124.728142,
0 0
] ]
}, { }, {
index: 10, index: 10,
time: 17, time: 95,
location: [ location: [
11660904.439976, 11661031.081875,
3692431.094219, 3692601.786426,
11.268408, 4.20584,
], ],
rotation: [ rotation: [
-19.691488, -9.671138,
-12.839875, 146.918442,
0 0
] ]
}, { }, {
index: 11, index: 11,
time: 18, time: 105,
location: [ location: [
11660907.31001, 11660985.186094,
3692430.00707, 3692571.888203,
13.427032, 4.296511,
], ],
rotation: [ rotation: [
-15.080975, -9.671138,
71.427696, 146.918442,
-0.000001 0
] ]
}, { }, {
index: 12, index: 12,
time: 20, time: 125,
location: [ location: [
11660905.748, 11660837.614219,
3692428.305098, 3692554.308691,
15.744407, 3.981143,
], ],
rotation: [ rotation: [
-10.570038, -3.533339,
-104.275772, 172.282532,
0
]
}, {
index: 13,
time: 22,
location: [
11660907.424536,
3692429.949375,
18.341962,
],
rotation: [
-13.682672,
77.469505,
0
]
}, {
index: 14,
time: 24,
location: [
11660905.437642,
3692428.630488,
21.090811,
],
rotation: [
-21.361387,
-88.333046,
0.000002
]
}, {
index: 15,
time: 25,
location: [
11660906.794524,
3692431.313086,
20.926121,
],
rotation: [
-19.128218,
-14.789486,
0
]
}, {
index: 16,
time: 26,
location: [
11660909.959971,
3692426.224121,
20.573704,
],
rotation: [
-12.228661,
-36.375908,
0
]
}, {
index: 17,
time: 27,
location: [
11660919.348164,
3692433.139785,
20.685688,
],
rotation: [
-12.228661,
-36.375908,
0
]
}, {
index: 18,
time: 28,
location: [
11660932.383853,
3692439.230898,
20.655989,
],
rotation: [
-12.491698,
-19.279795,
0
]
}, {
index: 19,
time: 29,
location: [
11660943.738184,
3692444.954512,
20.889019,
],
rotation: [
-17.018454,
-7.5978,
0
]
}, {
index: 20,
time: 30,
location: [
11660961.221875,
3692456.361621,
6.388878,
],
rotation: [
-21.964167,
-3.619455,
0
]
}, {
index: 21,
time: 31,
location: [
11661030.616572,
3692494.257949,
5.806389,
],
rotation: [
-10.529221,
-38.695396,
0
]
}, {
index: 22,
time: 33,
location: [
11661049.069902,
3692558.304922,
5.871467,
],
rotation: [
-11.777343,
-62.154377,
0
]
}, {
index: 23,
time: 35,
location: [
11661058.122266,
3692600.524087,
5.993107,
],
rotation: [
-14.126081,
-83.245064,
0
]
}, {
index: 24,
time: 37,
location: [
11661018.075127,
3692604.637139,
6.10626,
],
rotation: [
-16.332443,
164.989334,
0
]
}, {
index: 25,
time: 39,
location: [
11660959.534922,
3692573.611064,
6.237592,
],
rotation: [
-10.987985,
177.845734,
0
]
}, {
index: 26,
time: 41,
location: [
11660856.063798,
3692559.525986,
5.76212,
],
rotation: [
-9.690583,
179.483215,
0 0
] ]
}] }]
@ -367,13 +185,13 @@ export default [
index: 0, index: 0,
time: 1, time: 1,
location: [ location: [
11660670.775156, 11660670.683125,
3692632.663789, 3692632.901113,
3.687361 3.445218,
], ],
rotation: [ rotation: [
-1.603564, 3.020105,
89.097595, 88.41761,
0 0
] ]
}, },
@ -381,13 +199,13 @@ export default [
index: 1, index: 1,
time: 5, time: 5,
location: [ location: [
11660672.004531, 11660672.020313,
3692579.895508, 3692585.72751,
3.938437 3.446009,
], ],
rotation: [ rotation: [
-6.411935, 3.020105,
175.84407, 88.41761,
0 0
] ]
}, },
@ -407,141 +225,309 @@ export default [
}, },
{ {
index: 3, index: 3,
time: 10, time: 9,
location: [ location: [
11660546.412812, 11660675.074531,
3692506.966353, 3692583.068721,
3.843261 3.665454,
], ],
rotation: [ rotation: [
-4.585734, -1.189027,
3.053582, 173.788849,
0 0
] ]
}, },
{ {
index: 4, index: 4,
time: 13, time: 21,
location: [ location: [
11660598.649062, 11660543.801719,
3692506.240205, 3692568.779199,
3.974243 3.66561,
], ],
rotation: [ rotation: [
-7.100555, -1.189027,
82.652985, 173.788849,
0 0
] ]
}, },
{ {
index: 5, index: 5,
time: 15, time: 22,
location: [ location: [
11660603.178437, 11660541.088125,
3692467.967673, 3692570.723281,
3.991567 3.714691,
], ],
rotation: [ rotation: [
-7.434114, -2.140083,
50.865936, 96.673035,
0 0
] ]
}, },
{ {
index: 6, index: 6,
time: 17, time: 27,
location: [ location: [
11660632.262813, 11660533.644531,
3692425.033324, 3692507.102485,
3.752879 3.714691,
], ],
rotation: [ rotation: [
-2.855839, -2.140083,
-0.876668, 96.673035,
0 0
] ]
}, },
{ {
index: 7, index: 7,
time: 19, time: 28,
location: [ location: [
11660705.369531, 11660530.369219,
3692424.296892, 3692504.647427,
3.243782, 3.82053,
], ],
rotation: [ rotation: [
6.88494, -4.178245,
-56.970181, 9.737716,
0 0
] ]
}, },
{ {
index: 8, index: 8,
time: 21, time: 35,
location: [ location: [
11660736.325156, 11660594.904531,
3692471.440234, 3692493.567388,
3.319741 3.82053,
], ],
rotation: [ rotation: [
5.425766, -4.178245,
-92.833725, 9.737719,
0 0
] ]
}, },
{ {
index: 9, index: 9,
time: 23, time: 36,
location:[ location:[
11660731.05375, 11660596.972812,
3692523.998013, 3692495.924478,
3.057763 3.746344,
], ],
rotation: [ rotation: [
10.479408, -2.740019,
1.40215, 73.244278,
0 0
] ]
}, },
{ {
index: 10, index: 10,
time: 26, time: 40,
location: [ location: [
11660798.06625, 11660612.798594,
3692521.90978, 3692443.320716,
3.343354 3.746344,
], ],
rotation: [ rotation: [
6.93148, -2.740019,
-85.549675, 73.244293,
0 0
] ]
}, },
{ {
index: 11, index: 11,
time: 29, time: 45,
location: [ location: [
11660798.476094, 11660642.096563,
3692553.860889, 3692422.66725,
3.814992 3.751102,
], ],
rotation: [ rotation: [
-2.093508, -2.831305,
-8.107742, 32.027992,
0 0
] ]
}, },
{ {
index: 12, index: 12,
time: 32, time: 55,
location: [ location: [
11661029.977187, 11660705.188281,
3692586.668604, 3692427.811786,
3.65193 3.880547,
], ],
rotation: [ rotation: [
1.021263, -5.272086,
91.970299, -6.343121,
0
]
},
{
index: 13,
time: 56,
location: [
11660705.990469,
3692426.080919,
3.817962,
],
rotation: [
-4.068771,
-43.680824,
0
]
},
{
index: 14,
time: 60,
location: [
11660705.990469,
3692426.080919,
3.817962,
],
rotation: [
-4.068771,
-43.680824,
0
]
},
{
index: 15,
time: 61,
location: [
11660735.26875,
3692469.72428,
3.815561,
],
rotation: [
-4.068771,
-72.525078,
0
]
},
{
index: 16,
time: 62,
location: [
11660735.26875,
3692469.72428,
3.815561,
],
rotation: [
-4.068771,
-72.525078,
0
]
},
{
index: 17,
time: 65,
location: [
11660735.739531,
3692518.21606,
3.739261,
],
rotation: [
-2.60416,
-91.505638,
0
]
},
{
index: 18,
time: 66,
location: [
11660732.710469,
3692520.729414,
3.704501,
],
rotation: [
-1.937533,
-9.098099,
0
]
},
{
index: 19,
time: 74,
location: [
11660810.052969,
3692530.889717,
3.713195,
],
rotation: [
1.656526,
-8.917943,
0
]
},
{
index: 20,
time: 75,
location: [
11660812.897344,
3692528.365137,
3.769883,
],
rotation: [
0.570027,
-87.923378,
0
]
},
{
index: 21,
time: 79,
location:[
11660814.929844,
3692583.10248,
3.678004,
],
rotation: [
0.570027,
-87.923386,
0
]
},
{
index: 22,
time: 80,
location:[
11660812.100781,
3692585.532861,
3.670703,
],
rotation: [
0.709923,
-10.747027,
0
]
},
{
index: 23,
time: 130,
location:[
11661047.96625,
3692615.863867,
3.599258,
],
rotation: [
2.081179,
-7.179654,
0
]
},
{
index: 24,
time: 131,
location:[
11661049.352187,
3692618.769902,
3.549081,
],
rotation: [
3.044454,
58.106522,
0 0
] ]
}] }]

View File

@ -9,7 +9,7 @@ export default class PlayerUtils{
const player = new acapi.DigitalTwinPlayer(process.env.VUE_APP_PALYER_URL,{ const player = new acapi.DigitalTwinPlayer(process.env.VUE_APP_PALYER_URL,{
domId, domId,
iid, iid,
reset:true, // reset:true,
apiOptions:{ apiOptions:{
onReady: this.onReady, onReady: this.onReady,
onLog: this.onLog, //可选参数,日志输出回调函数 onLog: this.onLog, //可选参数,日志输出回调函数

View File

@ -1,6 +1,6 @@
<div class="overview-container"> <div class="overview-container">
<!-- <MapComponent id="map" @onLoaded="getMap" @onHandleChange="handleChange"></MapComponent>--> <MapComponent id="map" @onLoaded="getMap" @onHandleChange="handleChange"></MapComponent>
<div class="bg-box left animate__animated"> <div class="bg-box left animate__animated">
<div class="panel-container"> <div class="panel-container">