From 389d1fd78d5b071d3065414c41e303e511c008c2 Mon Sep 17 00:00:00 2001 From: Hugues Tavernier Date: Tue, 26 Aug 2025 17:10:17 +0200 Subject: [PATCH] fix interpolate expression --- styles/bright/style.json | 2 +- styles/liberty/style.json | 2 +- styles/positron/style.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/styles/bright/style.json b/styles/bright/style.json index e5d24ea..7598b09 100644 --- a/styles/bright/style.json +++ b/styles/bright/style.json @@ -2310,7 +2310,7 @@ "paint": { "line-color": "hsl(0,0%,70%)", "line-dasharray": [1, 1], - "line-width": ["interpolate", ["linear", 1], ["zoom"], 7, 1, 11, 2] + "line-width": ["interpolate", ["linear"], ["zoom"], 7, 1, 11, 2] } }, { diff --git a/styles/liberty/style.json b/styles/liberty/style.json index a1c2786..5d2ea92 100644 --- a/styles/liberty/style.json +++ b/styles/liberty/style.json @@ -2038,7 +2038,7 @@ "paint": { "line-color": "hsl(0,0%,70%)", "line-dasharray": [1, 1], - "line-width": ["interpolate", ["linear", 1], ["zoom"], 7, 1, 11, 2] + "line-width": ["interpolate", ["linear"], ["zoom"], 7, 1, 11, 2] } }, { diff --git a/styles/positron/style.json b/styles/positron/style.json index 40bb572..840a357 100644 --- a/styles/positron/style.json +++ b/styles/positron/style.json @@ -892,7 +892,7 @@ "paint": { "line-color": "hsl(0,0%,70%)", "line-dasharray": [1, 1], - "line-width": ["interpolate", ["linear", 1], ["zoom"], 7, 1, 11, 2] + "line-width": ["interpolate", ["linear"], ["zoom"], 7, 1, 11, 2] } }, {