|
|
|
@ -1013,7 +1013,7 @@ const flyToThere = (e) => {
|
|
|
|
|
const graphic = new mars3d.graphic.BillboardEntity({
|
|
|
|
|
id:"flytothere-uav",
|
|
|
|
|
name: "标点",
|
|
|
|
|
position: [position._lng,position._lat,200],
|
|
|
|
|
position: [position._lng,position._lat,position._alt],
|
|
|
|
|
style: {
|
|
|
|
|
image: "/map/uav-mark.png",
|
|
|
|
|
scale: 0.3,
|
|
|
|
@ -1059,7 +1059,7 @@ const flyToThere = (e) => {
|
|
|
|
|
// 连接线
|
|
|
|
|
const connectLine = new mars3d.graphic.PolylineEntity({
|
|
|
|
|
id:"flytothere-line",
|
|
|
|
|
positions: [[position._lng,position._lat,200], [position._lng,position._lat,0]],
|
|
|
|
|
positions: [[position._lng,position._lat,position._alt], [position._lng,position._lat,0]],
|
|
|
|
|
style: {
|
|
|
|
|
color: '#f5f5f5',
|
|
|
|
|
width: 1,
|
|
|
|
|