mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-31 09:05:14 +01:00
Fixed broken ENC atlases names (center locations)
This commit is contained in:
parent
32262e7c46
commit
0a281f8ca8
@ -116,7 +116,6 @@ void ENCAtlas::addMap(const QDir &dir, const QByteArray &file,
|
|||||||
|
|
||||||
it.value()->addMap(bounds, path);
|
it.value()->addMap(bounds, path);
|
||||||
|
|
||||||
_name = "ENC (" + Format::coordinates(bounds.center(), DecimalDegrees) + ")";
|
|
||||||
_llBounds |= bounds;
|
_llBounds |= bounds;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -148,6 +147,8 @@ ENCAtlas::ENCAtlas(const QString &fileName, QObject *parent)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_name = "ENC (" + Format::coordinates(_llBounds.center(), DecimalDegrees)
|
||||||
|
+ ")";
|
||||||
_usage = _data.firstKey();
|
_usage = _data.firstKey();
|
||||||
_zoom = zooms(_usage).min();
|
_zoom = zooms(_usage).min();
|
||||||
updateTransform();
|
updateTransform();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user