1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-27 21:24:47 +01:00

Do not outline soundings like in ENC maps

This commit is contained in:
Martin Tůma 2023-05-12 10:19:52 +02:00
parent bb22ad95b7
commit ddc7eb7149

View File

@ -446,12 +446,14 @@ void RasterTile::processPoints(QList<TextItem*> &textItems)
: font(style.textFontSize());
const QColor *color = style.textColor().isValid()
? &style.textColor() : &textColor;
const QColor *hcolor = Style::isDepthPoint(point.type)
? 0 : &haloColor;
if ((!label || !fnt) && !img)
continue;
TextPointItem *item = new TextPointItem(QPoint(point.coordinates.lon(),
point.coordinates.lat()), label, fnt, img, color, &haloColor, 0,
point.coordinates.lat()), label, fnt, img, color, hcolor, 0,
ICON_PADDING);
if (item->isValid() && !item->collides(textItems))
textItems.append(item);