From acd6b9cb09867a3fbd2b45e07e1fddbb586f72f3 Mon Sep 17 00:00:00 2001 From: Eden Halperin Date: Tue, 27 May 2014 11:54:47 -0700 Subject: [PATCH] transition street casing opacity --- bin/style.js | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/bin/style.js b/bin/style.js index 6be96c965..1dbe2b2cf 100644 --- a/bin/style.js +++ b/bin/style.js @@ -1473,12 +1473,17 @@ module.exports = { ], "street_casing_width": [ "stops", - {"z": 13,"val": 0.4}, + {"z": 13, "val": 0.4}, {"z": 14, "val": 1}, {"z": 15, "val": 2.5}, {"z": 16, "val": 4}, {"z": 17, "val": 10} ], + "street_casing_opacity": [ + "stops", + {"z": 14, "val": 0}, + {"z": 14.5, "val": 1} + ], "service_casing_width": [ "stops", {"z": 14, "val": 0.5}, @@ -1892,7 +1897,8 @@ module.exports = { }, "tunnel_street_casing": { "color": "#d9d5c6", - "width": "street_casing_width" + "width": "street_casing_width", + "opacity": "street_casing_opacity" }, "tunnel_street": { "color": "#d9d5c6", @@ -1956,7 +1962,8 @@ module.exports = { }, "road_street_casing": { "color": "#d9d5c6", - "width": "street_casing_width" + "width": "street_casing_width", + "opacity": "street_casing_opacity" }, "road_street": { "color": "street", @@ -2091,7 +2098,8 @@ module.exports = { }, "bridge_street_casing": { "color": "#d9d5c6", - "width": "street_casing_width" + "width": "street_casing_width", + "opacity": "street_casing_opacity" }, "bridge_street": { "color": "street", @@ -2602,7 +2610,8 @@ module.exports = { }, "tunnel_street_casing": { "color": "street_case_night", - "width": "street_casing_width" + "width": "street_casing_width", + "opacity": "street_casing_opacity" }, "tunnel_street": { "color": "street_night", @@ -2666,7 +2675,8 @@ module.exports = { }, "road_street_casing": { "color": "street_case_night", - "width": "street_casing_width" + "width": "street_casing_width", + "opacity": "street_casing_opacity" }, "road_street": { "color": "street_night", @@ -2797,7 +2807,8 @@ module.exports = { }, "bridge_street_casing": { "color": "street_case_night", - "width": "street_casing_width" + "width": "street_casing_width", + "opacity": "street_casing_opacity" }, "bridge_street": { "color": "street_night",