1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-10-06 14:53:21 +02:00

Rather show less road shields than more

This commit is contained in:
Martin Tůma 2020-04-15 22:48:28 +02:00
parent 31da4e1906
commit 7811527239

View File

@ -483,7 +483,7 @@ void IMGMap::processShields(QList<MapData::Poly> &lines, const QRect &tileRect,
= shields.constBegin(); it != shields.constEnd(); ++it) { = shields.constBegin(); it != shields.constEnd(); ++it) {
const QPolygonF &p = it.value(); const QPolygonF &p = it.value();
QRectF rect(p.boundingRect() & tileRect); QRectF rect(p.boundingRect() & tileRect);
if (qSqrt(AREA(rect)) < TILE_SIZE/8) if (qSqrt(AREA(rect)) < TILE_SIZE/4)
continue; continue;
QMap<qreal, int> map; QMap<qreal, int> map;