Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
0dea128d
Commit
0dea128d
authored
Feb 25, 2016
by
Don Gagne
Browse files
Merge pull request #2885 from DonLakeFlyer/Zoom20
Allow map zoom to go to 20
parents
03ff59ec
a1f35b6b
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/QtLocationPlugin/QGCMapUrlEngine.h
View file @
0dea128d
...
...
@@ -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 @
0dea128d
...
...
@@ -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
Supports
Markdown
0%
Try again
or
attach a new 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