diff --git a/src/onlinemap.cpp b/src/onlinemap.cpp index 94daecf2..0c83105d 100644 --- a/src/onlinemap.cpp +++ b/src/onlinemap.cpp @@ -25,6 +25,11 @@ static QPoint mercator2tile(const QPointF &m, int z) return tile; } +static qreal zoom2scale(int zoom) +{ + return ((360.0/(qreal)(1< &list); void loadTilesSync(QList &list); - qreal _scale; + int _zoom; QString _name; QString _url; bool _block;