1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-07-18 04:44:23 +02:00

Define symbols draw order

This commit is contained in:
2022-11-08 01:16:38 +01:00
parent 1946c3cc6f
commit af688314fb
2 changed files with 47 additions and 6 deletions

View File

@ -52,12 +52,7 @@ public:
class Point {
public:
Point(uint type, const Coordinates &c, const QString &label)
: _type(type), _pos(c), _label(label)
{
uint hash = (uint)qHash(QPair<double,double>(c.lon(), c.lat()));
_id = ((quint64)type)<<32 | hash;
}
Point(uint type, const Coordinates &c, const QString &label);
const Coordinates &pos() const {return _pos;}
uint type() const {return _type;}