Skip to content

Commit

Permalink
Unified z15 switch from blackstroke to casing/fill for primary-down.
Browse files Browse the repository at this point in the history
Clarifies the relative imporance of roads at all zooms (#84). As primary 
and lower roads all use the same style at a given zoom, their relative 
widths are now the indicator of their relative importance.
  • Loading branch information
adamfranco committed Feb 21, 2022
1 parent 058a5a1 commit f1fb772
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions style/layer/road.js
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ class Primary extends Road {
this.link = false;
this.hue = 0;

this.minZoomFill = 14;
this.minZoomFill = 15;
this.minZoomCasing = 7;

this.fillWidth = Util.zoomMultiply(trunkFillWidth, 0.9);
Expand Down Expand Up @@ -415,7 +415,7 @@ class Tertiary extends Road {
this.link = false;
this.hue = 0;

this.minZoomFill = 16;
this.minZoomFill = 15;
this.minZoomCasing = 11;

this.fillWidth = Util.zoomMultiply(trunkFillWidth, 0.5);
Expand Down Expand Up @@ -460,7 +460,7 @@ class Minor extends Road {
this.link = false;
this.hue = 0;

this.minZoomFill = 16;
this.minZoomFill = 15;
this.minZoomCasing = 12;

this.fillWidth = Util.zoomMultiply(trunkFillWidth, 0.3);
Expand Down Expand Up @@ -490,7 +490,7 @@ class Service extends Road {
this.link = false;
this.hue = 0;

this.minZoomFill = 16;
this.minZoomFill = 15;
this.minZoomCasing = 13;

this.fillWidth = Util.zoomMultiply(trunkFillWidth, 0.2);
Expand Down Expand Up @@ -518,7 +518,7 @@ class SmallService extends Service {
constructor() {
super();

this.minZoomFill = 16;
this.minZoomFill = 15;
this.minZoomCasing = 15;

this.fillWidth = Util.zoomMultiply(trunkFillWidth, 0.15);
Expand Down

0 comments on commit f1fb772

Please sign in to comment.