From 635e2f1fe3380b4c805f2e38cac1cbd845d6138b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sun, 21 Jan 2018 00:47:51 +0100 Subject: [PATCH] Fixed switched lat/lon parameter fetch --- src/map/pcs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/map/pcs.cpp b/src/map/pcs.cpp index 55869804..32357609 100644 --- a/src/map/pcs.cpp +++ b/src/map/pcs.cpp @@ -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);