Skip to content

Commit

Permalink
Added a warning for links with a ref tag on them.
Browse files Browse the repository at this point in the history
  • Loading branch information
Baconcrisp26 committed Oct 22, 2024
1 parent ad1aafe commit 3a83a9e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Kaart-Styles.mapcss
Original file line number Diff line number Diff line change
Expand Up @@ -2608,6 +2608,23 @@ way|z17-[destination:ref][!setting("ref_setting")][setting("ref_highlight_settin
width: 1;
}

/**************************/
/* Check for refs on links*/
/**************************/

way[highway=motorway_link][ref],
way[highway=trunk_link][ref],
way[highway=primary_link][ref],
way[highway=secondary_link][ref],
way[highway=tertiary_link][ref] {

text: tr("Ref on link");
text-color: red;
font-size: 20;
font-weight: bold;
text-halo-color: white;
text-halo-radius: 2;
}

/*******************************
* Destination tags (destination) *
Expand Down

0 comments on commit 3a83a9e

Please sign in to comment.