download
This commit is contained in:
@@ -61,7 +61,7 @@ public:
|
||||
QString cachePath() const;
|
||||
void setCachePath(const QString & p);
|
||||
|
||||
void downloadCurrentView(int target_zoom_level = 17);
|
||||
void downloadCurrentView(int target_zoom_level = 17, bool only_new = true);
|
||||
|
||||
protected:
|
||||
QSize sizeHint() const override { return QSize(200, 200); }
|
||||
@@ -92,7 +92,7 @@ private:
|
||||
MapItemBase * hover = nullptr;
|
||||
QPointF center_ = QPointF(0.5, 0.5);
|
||||
QPointF last_click_coord = center_;
|
||||
QPoint press_point;
|
||||
QPoint press_point, zoom_anchor;
|
||||
QPixmap background;
|
||||
QRectF view_rect;
|
||||
QVector<MapItemBase *> items_;
|
||||
|
||||
Reference in New Issue
Block a user