1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 13:41:16 +01:00

Fixed switched lat/lon parameter fetch

This commit is contained in:
Martin Tůma 2018-01-21 00:47:51 +01:00
parent 23e4e66c1b
commit 635e2f1fe3

View File

@ -26,14 +26,14 @@ static bool parameter(int key, double val, int units, Projection::Setup &setup)
{AngularUnits au(units); {AngularUnits au(units);
if (au.isNull()) if (au.isNull())
return false; return false;
setup.setLongitudeOrigin(au.toDegrees(val));} setup.setLatitudeOrigin(au.toDegrees(val));}
return true; return true;
case 8802: case 8802:
case 8822: case 8822:
{AngularUnits au(units); {AngularUnits au(units);
if (au.isNull()) if (au.isNull())
return false; return false;
setup.setLatitudeOrigin(au.toDegrees(val));} setup.setLongitudeOrigin(au.toDegrees(val));}
return true; return true;
case 8805: case 8805:
setup.setScale(val); setup.setScale(val);