mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-18 19:52:09 +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);
|
||||
|
||||
_name = "ENC (" + Format::coordinates(bounds.center(), DecimalDegrees) + ")";
|
||||
_llBounds |= bounds;
|
||||
}
|
||||
|
||||
@ -148,6 +147,8 @@ ENCAtlas::ENCAtlas(const QString &fileName, QObject *parent)
|
||||
return;
|
||||
}
|
||||
|
||||
_name = "ENC (" + Format::coordinates(_llBounds.center(), DecimalDegrees)
|
||||
+ ")";
|
||||
_usage = _data.firstKey();
|
||||
_zoom = zooms(_usage).min();
|
||||
updateTransform();
|
||||
|
Loading…
x
Reference in New Issue
Block a user