From df01b43dadaf0c161aa26cc0f95c0d5fca5670f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Delaun=C3=A9?= Date: Tue, 26 Nov 2019 11:30:19 +0100 Subject: [PATCH] ramp property is integer, not string --- style.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/style.json b/style.json index 653cf7d..8984e49 100644 --- a/style.json +++ b/style.json @@ -243,7 +243,7 @@ "type": "line", "source": "openmaptiles", "source-layer": "transportation", - "filter": ["all", ["==", "ramp", "1"], ["==", "brunnel", "tunnel"]], + "filter": ["all", ["==", "ramp", 1], ["==", "brunnel", "tunnel"]], "layout": {"line-join": "round"}, "paint": { "line-color": "#e9ac77", @@ -386,7 +386,7 @@ "type": "line", "source": "openmaptiles", "source-layer": "transportation", - "filter": ["all", ["==", "ramp", "1"], ["==", "brunnel", "tunnel"]], + "filter": ["all", ["==", "ramp", 1], ["==", "brunnel", "tunnel"]], "layout": {"line-join": "round"}, "paint": { "line-color": "#fff4c6", @@ -565,7 +565,7 @@ "all", ["!in", "brunnel", "bridge", "tunnel"], ["!in", "class", "pedestrian", "path", "track", "service"], - ["==", "ramp", "1"] + ["==", "ramp", 1] ], "layout": {"line-cap": "round", "line-join": "round"}, "paint": { @@ -586,7 +586,7 @@ ["==", "$type", "LineString"], ["!in", "brunnel", "bridge", "tunnel"], ["in", "class", "minor"], - ["!=", "ramp", "1"] + ["!=", "ramp", 1] ], "layout": {"line-cap": "round", "line-join": "round"}, "paint": { @@ -644,7 +644,7 @@ "all", ["!in", "brunnel", "bridge", "tunnel"], ["==", "class", "motorway"], - ["!=", "ramp", "1"] + ["!=", "ramp", 1] ], "layout": {"line-cap": "round", "line-join": "round"}, "paint": {