diff --git a/src/data/poi.cpp b/src/data/poi.cpp index 22e8ccb6..08635d5d 100644 --- a/src/data/poi.cpp +++ b/src/data/poi.cpp @@ -14,6 +14,7 @@ POI::POI(QObject *parent) : QObject(parent) { _errorLine = 0; _radius = 1000; + _useDEM = false; } bool POI::loadFile(const QString &path, bool dir) diff --git a/src/map/tile.h b/src/map/tile.h index bbbec272..ce365b44 100644 --- a/src/map/tile.h +++ b/src/map/tile.h @@ -10,7 +10,7 @@ class Tile { public: - Tile() {} + Tile() : _scaledSize(0) {} Tile(const QPoint &xy, const QVariant &zoom, int scaledSize = 0, const RectD &bbox = RectD()) : _xy(xy), _zoom(zoom), _scaledSize(scaledSize), _bbox(bbox) {}