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
a3ddb924
Commit
a3ddb924
authored
Apr 04, 2015
by
dogmaphobic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing debug output.
parent
aa2cf9eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
qgeotiledmappingmanagerenginegoogle.cpp
...ocationGoogle/src/qgeotiledmappingmanagerenginegoogle.cpp
+5
-4
FlightDisplay.qml
src/ui/flightdisplay/FlightDisplay.qml
+0
-1
No files found.
libs/QtLocationGoogle/src/qgeotiledmappingmanagerenginegoogle.cpp
View file @
a3ddb924
...
...
@@ -97,9 +97,10 @@ QGeoTiledMappingManagerEngineGoogle::QGeoTiledMappingManagerEngineGoogle(const Q
{
qWarning
()
<<
"Could not create mapping disk cache directory: "
<<
cacheDir
;
cacheDir
.
clear
();
}
else
{
qDebug
()
<<
"Mapping cache directory:"
<<
cacheDir
;
}
//else {
// qDebug() << "Mapping cache directory:" << cacheDir;
//}
QGeoTileCache
*
tileCache
=
createTileCacheWithDir
(
cacheDir
);
...
...
@@ -114,7 +115,7 @@ QGeoTiledMappingManagerEngineGoogle::QGeoTiledMappingManagerEngineGoogle(const Q
// QGC Default
cacheLimit
=
1024
*
1024
*
1024
;
tileCache
->
setMaxDiskUsage
(
cacheLimit
);
qDebug
()
<<
"Disk caching limit:"
<<
cacheLimit
;
//
qDebug() << "Disk caching limit:" << cacheLimit;
cacheLimit
=
0
;
if
(
parameters
.
contains
(
QStringLiteral
(
"mapping.cache.memory.size"
)))
{
...
...
@@ -127,7 +128,7 @@ QGeoTiledMappingManagerEngineGoogle::QGeoTiledMappingManagerEngineGoogle(const Q
// QGC Default
cacheLimit
=
10
*
1024
*
1024
;
tileCache
->
setMaxMemoryUsage
(
cacheLimit
);
qDebug
()
<<
"Memory caching limit:"
<<
cacheLimit
;
//
qDebug() << "Memory caching limit:" << cacheLimit;
cacheLimit
=
0
;
if
(
parameters
.
contains
(
QStringLiteral
(
"mapping.cache.texture.size"
)))
{
...
...
src/ui/flightdisplay/FlightDisplay.qml
View file @
a3ddb924
...
...
@@ -237,7 +237,6 @@ Rectangle {
if
(
mapBackground
.
mapItem
.
supportedMapTypes
.
length
>
0
)
map
=
mapBackground
.
mapItem
.
activeMapType
.
name
;
map
=
flightDisplay
.
loadSetting
(
"
currentMapType
"
,
map
);
console
.
log
(
'
Set map type:
'
,
map
)
if
(
map
!=
''
)
setCurrentMap
(
map
);
}
...
...
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