Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
300cd31c
Commit
300cd31c
authored
Apr 14, 2017
by
DonLakeFlyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable waypoint drag in Fly view
parent
0a745de8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
FlightDisplayViewMap.qml
src/FlightDisplay/FlightDisplayViewMap.qml
+2
-0
FlightMap.qml
src/FlightMap/FlightMap.qml
+1
-0
SimpleItemMapVisual.qml
src/PlanView/SimpleItemMapVisual.qml
+1
-1
No files found.
src/FlightDisplay/FlightDisplayViewMap.qml
View file @
300cd31c
...
...
@@ -29,9 +29,11 @@ FlightMap {
mapName
:
_mapName
allowGCSLocationCenter
:
!
userPanned
allowVehicleLocationCenter
:
!
_keepVehicleCentered
planView
:
false
property
alias
scaleState
:
mapScale
.
state
// The following properties must be set by the consumer
property
var
missionController
property
var
geoFenceController
property
var
rallyPointController
...
...
src/FlightMap/FlightMap.qml
View file @
300cd31c
...
...
@@ -38,6 +38,7 @@ Map {
property
bool
allowVehicleLocationCenter
:
false
///< true: map will center/zoom to vehicle location one time
property
bool
firstGCSPositionReceived
:
false
///< true: first gcs position update was responded to
property
bool
firstVehiclePositionReceived
:
false
///< true: first vehicle position update was responded to
property
bool
planView
:
false
///< true: map being using for Plan view, items should be draggable
readonly
property
real
maxZoomLevel
:
20
...
...
src/PlanView/SimpleItemMapVisual.qml
View file @
300cd31c
...
...
@@ -62,7 +62,7 @@ Item {
Component.onCompleted
:
{
showItemVisuals
()
if
(
_missionItem
.
isCurrentItem
)
{
if
(
_missionItem
.
isCurrentItem
&&
map
.
planView
)
{
showDragArea
()
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment