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
a1f35b6b
Commit
a1f35b6b
authored
Feb 25, 2016
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow map zoom to go to 20
parent
1b638340
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
QGCMapUrlEngine.h
src/QtLocationPlugin/QGCMapUrlEngine.h
+1
-1
OfflineMap.qml
src/QtLocationPlugin/QMLControl/OfflineMap.qml
+7
-4
No files found.
src/QtLocationPlugin/QGCMapUrlEngine.h
View file @
a1f35b6b
...
...
@@ -36,7 +36,7 @@ This file is part of the QGROUNDCONTROL project
#include <QNetworkReply>
#include <QMutex>
#define MAX_MAP_ZOOM (
18
.0)
#define MAX_MAP_ZOOM (
20
.0)
class
UrlFactory
:
public
QObject
{
Q_OBJECT
...
...
src/QtLocationPlugin/QMLControl/OfflineMap.qml
View file @
a1f35b6b
...
...
@@ -56,6 +56,9 @@ Rectangle {
property
int
oldz0
:
0
property
int
oldz1
:
0
readonly
property
real
minZoomLevel
:
3
readonly
property
real
maxZoomLevel
:
20
Component.onCompleted
:
{
QGroundControl
.
mapEngineManager
.
loadTileSets
()
updateMap
()
...
...
@@ -357,8 +360,8 @@ Rectangle {
}
Slider
{
id
:
_slider0
minimumValue
:
3
maximumValue
:
18
minimumValue
:
minZoomLevel
maximumValue
:
maxZoomLevel
stepSize
:
1
tickmarksEnabled
:
false
orientation
:
Qt
.
Horizontal
...
...
@@ -421,8 +424,8 @@ Rectangle {
}
Slider
{
id
:
_slider1
minimumValue
:
3
maximumValue
:
18
minimumValue
:
minZoomLevel
maximumValue
:
maxZoomLevel
stepSize
:
1
tickmarksEnabled
:
false
orientation
:
Qt
.
Horizontal
...
...
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