1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +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);
if (au.isNull())
return false;
setup.setLongitudeOrigin(au.toDegrees(val));}
setup.setLatitudeOrigin(au.toDegrees(val));}
return true;
case 8802:
case 8822:
{AngularUnits au(units);
if (au.isNull())
return false;
setup.setLatitudeOrigin(au.toDegrees(val));}
setup.setLongitudeOrigin(au.toDegrees(val));}
return true;
case 8805:
setup.setScale(val);