1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-01-31 17:15:14 +01:00

Filter all way references, not only "ref"s

This commit is contained in:
Martin Tůma 2023-04-06 09:41:31 +02:00
parent 84dc58da71
commit 2aa759a4bc

View File

@ -182,7 +182,9 @@ void RasterTile::processLineLabels(QList<TextItem*> &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;