Commit c924bfc1 authored by DonLakeFlyer's avatar DonLakeFlyer

Add mission mapControl property setting

parent 33be72d3
......@@ -328,6 +328,7 @@ Item {
MissionItemIndicatorDrag {
id: dragArea
mapControl: _root.mapControl
z: _zorderDragHandle
visible: !_circle
......@@ -447,6 +448,7 @@ Item {
id: centerDragAreaComponent
MissionItemIndicatorDrag {
mapControl: _root.mapControl
z: _zorderCenterHandle
onItemCoordinateChanged: mapPolygon.center = itemCoordinate
onDragStart: mapPolygon.centerDrag = true
......
......@@ -236,6 +236,7 @@ Item {
id: dragAreaComponent
MissionItemIndicatorDrag {
mapControl: _root.mapControl
id: dragArea
z: _zorderDragHandle
......
......@@ -176,6 +176,7 @@ Item {
id: loiterDragAreaComponent
MissionItemIndicatorDrag {
mapControl: _root.map
itemIndicator: _itemVisuals[_loiterPointIndex]
itemCoordinate: _missionItem.loiterCoordinate
......@@ -188,6 +189,7 @@ Item {
id: landDragAreaComponent
MissionItemIndicatorDrag {
mapControl: _root.map
itemIndicator: _itemVisuals[_landPointIndex]
itemCoordinate: _missionItem.landingCoordinate
......
......@@ -44,6 +44,7 @@ Item {
id: dragAreaComponent
MissionItemIndicatorDrag {
mapControl: _root.map
itemCoordinate: rallyPointObject.coordinate
visible: rallyPointObject === myRallyPointController.currentRallyPoint
......
......@@ -92,6 +92,7 @@ Item {
id: dragAreaComponent
MissionItemIndicatorDrag {
mapControl: _root.map
itemIndicator: _itemVisual
itemCoordinate: _missionItem.coordinate
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment