mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 11:45:53 +01:00
Fixed broken map scale computation
This commit is contained in:
parent
bc218c9f65
commit
51c0c31838
@ -286,9 +286,9 @@ bool OfflineMap::computeResolution(QList<ReferencePoint> &points)
|
||||
minLon = i;
|
||||
if (points.at(i).ll.lon() > points.at(maxLon).ll.lon())
|
||||
maxLon = i;
|
||||
if (points.at(i).ll.lat() < points.at(minLat).ll.lon())
|
||||
if (points.at(i).ll.lat() < points.at(minLat).ll.lat())
|
||||
minLat = i;
|
||||
if (points.at(i).ll.lat() > points.at(maxLat).ll.lon())
|
||||
if (points.at(i).ll.lat() > points.at(maxLat).ll.lat())
|
||||
maxLat = i;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user