Skip to content

Commit

Permalink
Rendering railway pattern on z12 (#3488)
Browse files Browse the repository at this point in the history
  • Loading branch information
kocio-pl authored Nov 30, 2018
1 parent 2767eb4 commit dac3fbc
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions roads.mss
Original file line number Diff line number Diff line change
Expand Up @@ -1930,16 +1930,20 @@ tertiary is rendered from z10 and is not included in osm_planet_roads. */
line-dasharray: 5,2;
}
}
[zoom >= 13] {
[zoom >= 12] {
#roads-fill, #bridges {
dark/line-join: round;
light/line-color: white;
light/line-join: round;
[feature = 'railway_rail'] {
dark/line-color: #707070;
dark/line-width: 3;
light/line-width: 1;
dark/line-width: 2;
light/line-width: 0.75;
light/line-dasharray: 8,8;
[zoom >= 13] {
dark/line-width: 3;
light/line-width: 1;
}
[zoom >= 15] {
light/line-dasharray: 0,8,8,1;
}
Expand Down

0 comments on commit dac3fbc

Please sign in to comment.