From d3762bc01143e8c415629594b34e6d50d64ea0ae Mon Sep 17 00:00:00 2001 From: Clay Smalley Date: Fri, 3 Feb 2023 16:07:11 -0500 Subject: [PATCH] bigger aerialway gap width on high zooms --- src/layer/aerialway.js | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/src/layer/aerialway.js b/src/layer/aerialway.js index 4c83933c7..5c0016c24 100644 --- a/src/layer/aerialway.js +++ b/src/layer/aerialway.js @@ -16,6 +16,8 @@ export const lift = { ["zoom"], 12, 0.6, + 16, + 1.2, 20, 2.4, ], @@ -25,8 +27,10 @@ export const lift = { ["zoom"], 12, 0.5, + 16, + 1, 20, - 2, + 16, ], }, filter: [ @@ -56,6 +60,8 @@ export const dragLift = { ["zoom"], 12, 1.5, + 16, + 3, 20, 6, ], @@ -87,9 +93,22 @@ export const liftCasing = { ["exponential", aerialwayExp], ["zoom"], 12, - 2.5, + 1, + 16, + 2, + 20, + 4, + ], + "line-gap-width": [ + "interpolate", + ["exponential", aerialwayExp], + ["zoom"], + 12, + 0.01, + 16, + 0.01, 20, - 10, + 14.4, ], }, filter: [