mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-19 04:02:09 +01:00
Rather show less road shields than more
This commit is contained in:
parent
31da4e1906
commit
7811527239
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user