Skip to content

Commit

Permalink
Drop 'highway=steps' from z=13 (#3825)
Browse files Browse the repository at this point in the history
* Drop 'highway=steps' from z=13

* Missed line 649 in previous commit
  • Loading branch information
btwhite92 authored and imagico committed Aug 22, 2019
1 parent a40828e commit 5fd5107
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions roads.mss
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@
@track-width-z13: 0.5;
@track-grade1-width-z13: 0.5;
@track-grade2-width-z13: 0.5;
@steps-width-z13: 0.7;

@secondary-width-z14: 5;
@tertiary-width-z14: 5;
Expand All @@ -127,6 +126,7 @@
@pedestrian-width-z14: 3;
@road-width-z14: 2;
@service-width-z14: 2;
@steps-width-z14: 0.7;

@motorway-width-z15: 10;
@motorway-link-width-z15: 7.8;
Expand Down Expand Up @@ -639,16 +639,16 @@
#bridges {
[zoom >= 14][access != 'no'],
[zoom >= 15] {
line-width: @steps-width-z13 + 2 * (@paths-background-width + @paths-bridge-casing-width);
line-width: @steps-width-z14 + 2 * (@paths-background-width + @paths-bridge-casing-width);
[zoom >= 15] { line-width: @steps-width-z15 + 2 * (@paths-background-width + @paths-bridge-casing-width); }
line-color: @bridge-casing;
line-join: round;
}
}
#tunnels {
[zoom >= 13][access != 'no'],
[zoom >= 14][access != 'no'],
[zoom >= 15] {
line-width: @steps-width-z13 + 2 * (@paths-background-width + @paths-tunnel-casing-width);
line-width: @steps-width-z14 + 2 * (@paths-background-width + @paths-tunnel-casing-width);
[zoom >= 15] { line-width: @steps-width-z15 + 2 * (@paths-background-width + @paths-tunnel-casing-width); }
line-color: @tunnel-casing;
line-dasharray: 4,2;
Expand Down Expand Up @@ -945,19 +945,19 @@
#bridges {
[zoom >= 14][access != 'no'],
[zoom >= 15] {
line-width: @steps-width-z13 + 2 * @paths-background-width;
line-width: @steps-width-z14 + 2 * @paths-background-width;
[zoom >= 15] { line-width: @steps-width-z15 + 2 * @paths-background-width; }
line-color: @steps-casing;
line-join: round;
}
}
#tunnels {
[zoom >= 13][access != 'no'],
[zoom >= 14][access != 'no'],
[zoom >= 15] {
line-color: @steps-casing;
line-cap: round;
line-join: round;
line-width: @steps-width-z13 + 2 * @paths-background-width;
line-width: @steps-width-z14 + 2 * @paths-background-width;
[zoom >= 15] { line-width: @steps-width-z15 + 2 * @paths-background-width; }
}
}
Expand Down Expand Up @@ -1808,7 +1808,7 @@ tertiary is rendered from z10 and is not included in osm_planet_roads. */
}

[feature = 'highway_steps'] {
[zoom >= 13][access != 'no'],
[zoom >= 14][access != 'no'],
[zoom >= 15] {
#roads-fill[zoom >= 15] {
background/line-color: @steps-casing;
Expand All @@ -1820,7 +1820,7 @@ tertiary is rendered from z10 and is not included in osm_planet_roads. */
line/line-color: @steps-fill;
[access = 'no'] { line/line-color: @steps-fill-noaccess; }
line/line-dasharray: 2,1;
line/line-width: @steps-width-z13;
line/line-width: @steps-width-z14;
[zoom >= 15] { line/line-width: @steps-width-z15; }
}
}
Expand Down

0 comments on commit 5fd5107

Please sign in to comment.