1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-07-24 15:34:24 +02:00

Compare commits

..

1 Commits

Author SHA1 Message Date
ddc7eb7149 Do not outline soundings like in ENC maps 2023-05-12 10:19:52 +02:00

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);