From 3b55bc0efcc63b1b6193640dc4537bbb78296f95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Mon, 17 Apr 2017 19:01:01 +0200 Subject: [PATCH] Added missing Lat/Lon based calibration points conversion to WGS84 --- src/offlinemap.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/offlinemap.cpp b/src/offlinemap.cpp index 6152c108..c27ac243 100644 --- a/src/offlinemap.cpp +++ b/src/offlinemap.cpp @@ -223,6 +223,9 @@ bool OfflineMap::createProjection(const QString &datum, points[i].ll = _projection->xy2ll(points.at(i).pp); else points[i].ll = toWGS84(_projection->xy2ll(points.at(i).pp), d); + } else { + if (!d.isWGS84()) + points[i].ll = toWGS84(points[i].ll, d); } }