1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-31 16:52:10 +01:00

Merged in filnet/librepilot/LP-470_google_sat_version_upgrade (pull request #379)

LP-470 bump google sat version
This commit is contained in:
Lalanne Laurent 2017-01-27 20:20:50 +00:00
commit e82921c70c

View File

@ -41,8 +41,9 @@ ProviderStrings::ProviderStrings()
{ {
// Google version strings // Google version strings
VersionGoogleMap = "m@301"; VersionGoogleMap = "m@301";
QString version = qgetenv("GCS_GOOGLE_SAT_VERSION").constData(); QString version = "713";
VersionGoogleSatellite = version.isEmpty() ? "694" : version; QString envVersion = qgetenv("GCS_GOOGLE_SAT_VERSION").constData();
VersionGoogleSatellite = (envVersion.toInt() > version.toInt()) ? envVersion : version;
VersionGoogleLabels = "h@301"; VersionGoogleLabels = "h@301";
VersionGoogleTerrain = "t@132,r@301"; VersionGoogleTerrain = "t@132,r@301";
SecGoogleWord = "Galileo"; SecGoogleWord = "Galileo";