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
1caf009e
Commit
1caf009e
authored
Jun 27, 2014
by
Lorenz Meier
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #729 from mavlink/gmaps
Google Maps fix
parents
5c404e22
0ed611a9
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
41 deletions
+44
-41
urlfactory.cpp
libs/opmapcontrol/src/core/urlfactory.cpp
+41
-39
urlfactory.h
libs/opmapcontrol/src/core/urlfactory.h
+1
-0
QGCMapWidget.h
src/ui/map/QGCMapWidget.h
+2
-2
No files found.
libs/opmapcontrol/src/core/urlfactory.cpp
View file @
1caf009e
This diff is collapsed.
Click to expand it.
libs/opmapcontrol/src/core/urlfactory.h
View file @
1caf009e
...
...
@@ -61,6 +61,7 @@ namespace core {
Placemark
GetPlacemarkFromGeocoder
(
internals
::
PointLatLng
location
);
int
Timeout
;
private:
int
Random
(
int
low
,
int
high
);
void
GetSecGoogleWords
(
const
core
::
Point
&
pos
,
QString
&
sec1
,
QString
&
sec2
);
int
GetServerNum
(
const
core
::
Point
&
pos
,
const
int
&
max
)
const
;
void
TryCorrectGoogleVersions
();
...
...
src/ui/map/QGCMapWidget.h
View file @
1caf009e
...
...
@@ -6,8 +6,8 @@
#include "../../../libs/opmapcontrol/opmapcontrol.h"
// Choose one default map type
#define MAP_DEFAULT_TYPE_BING
//
#define MAP_DEFAULT_TYPE_GOOGLE
//
#define MAP_DEFAULT_TYPE_BING
#define MAP_DEFAULT_TYPE_GOOGLE
//#define MAP_DEFAULT_TYPE_OSM
class
UASInterface
;
...
...
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