From f1fb772511c0bc57877005cabed7b4acd641a73f Mon Sep 17 00:00:00 2001 From: Adam Franco Date: Mon, 21 Feb 2022 11:46:22 -0500 Subject: [PATCH] Unified z15 switch from blackstroke to casing/fill for primary-down. 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. --- style/layer/road.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/style/layer/road.js b/style/layer/road.js index d265bd2bc..8619bdc31 100644 --- a/style/layer/road.js +++ b/style/layer/road.js @@ -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); @@ -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); @@ -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); @@ -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); @@ -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);