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:
parent
23e4e66c1b
commit
635e2f1fe3
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user