From 2aa759a4bcefbf75017909aa758c596b02cd602f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Thu, 6 Apr 2023 09:41:31 +0200 Subject: [PATCH] Filter all way references, not only "ref"s --- src/map/mapsforge/rastertile.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/map/mapsforge/rastertile.cpp b/src/map/mapsforge/rastertile.cpp index 92fd1211..a8f95a8c 100644 --- a/src/map/mapsforge/rastertile.cpp +++ b/src/map/mapsforge/rastertile.cpp @@ -182,7 +182,9 @@ void RasterTile::processLineLabels(QList &textItems, continue; if (!ri->rule().match(path.path->closed, path.path->tags)) continue; - bool limit = (ri->key() == "ref"); + bool limit = (ri->key() == "ref" || ri->key() == "ele" + || ri->key() == "ref_hike" || ri->key() == "ref_cycle" + || ri->key() == "ref_mtb"); if (limit && set.contains(*lbl)) continue;