1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-07-15 19:34:24 +02:00

Added initial map support part #2

This commit is contained in:
2015-11-23 02:37:08 +01:00
parent 69095ca9eb
commit c639c6deac
13 changed files with 305 additions and 69 deletions

View File

@ -38,11 +38,9 @@ bool POI::loadFile(const QString &fileName)
}
QByteArray ba = list[2].trimmed();
QPointF p;
Entry entry;
ll2mercator(QPointF(lon, lat), p);
entry.description = QString::fromUtf8(ba.data(), ba.size());
entry.coordinates = p;
entry.coordinates = ll2mercator(QPointF(lon, lat));
_data.append(entry);
ln++;