Skip to content

Commit

Permalink
Add support for signal categories like NL:voor NL:hoofd en NL:snelheid
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddewie committed Oct 26, 2023
1 parent 4a2a444 commit 8c3d7ef
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion maxspeed_signals.mss
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,8 @@
/*****************************************/
/* NL speed limit light (no main signal) */
/*****************************************/
["feature"="NL"]["signal_speed_limit_form"="light"] {
["feature"="NL"]["signal_speed_limit_form"="light"],
["feature"="NL:snelheid"]["signal_speed_limit_form"="light"] {
marker-width: 16;
marker-height: 16;
marker-file: url('symbols/nl/speed_limit_light.png');
Expand Down
9 changes: 6 additions & 3 deletions signals.mss
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,8 @@ Format details:
/****************************/
/* NL distant light signals */
/****************************/
["feature"="NL"]["distant_form"="light"] {
["feature"="NL"]["distant_form"="light"],
["feature"="NL:voor"]["distant_form"="light"] {
::text {
text-name: [ref];
text-dy: 12;
Expand Down Expand Up @@ -1301,7 +1302,8 @@ Format details:
/*************************/
/* NL main light signals */
/*************************/
["feature"="NL"]["main_form"="light"] {
["feature"="NL"]["main_form"="light"],
["feature"="NL:hoofd"]["distant_form"="light"] {
::text {
text-name: [ref];
text-dy: 12;
Expand All @@ -1320,7 +1322,8 @@ Format details:
/**********************************/
/* NL repeated main light signals */
/**********************************/
["feature"="NL"]["main_repeated_states"="NL:272;NL:273"] {
["feature"="NL"]["main_repeated_states"="NL:272;NL:273"],
["feature"="NL:herhaling"]["main_repeated_states"="NL:272;NL:273"] {
::text {
text-name: [ref];
text-dy: 12;
Expand Down

0 comments on commit 8c3d7ef

Please sign in to comment.