From 92f474d30a91a02eea9ac5ad162e755751112be4 Mon Sep 17 00:00:00 2001 From: jirik Date: Sun, 9 Dec 2018 11:41:46 +0100 Subject: [PATCH] Add piers --- style.json | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/style.json b/style.json index 6c49400..5f51fc5 100644 --- a/style.json +++ b/style.json @@ -537,6 +537,73 @@ "line-opacity": 1 } }, + { + "id": "road_area_pier", + "type": "fill", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "$type", + "Polygon" + ], + [ + "==", + "class", + "pier" + ] + ], + "layout": { + "visibility": "visible" + }, + "paint": { + "fill-color": "#45516E", + "fill-antialias": true + } + }, + { + "id": "road_pier", + "type": "line", + "metadata": {}, + "source": "openmaptiles", + "source-layer": "transportation", + "filter": [ + "all", + [ + "==", + "$type", + "LineString" + ], + [ + "in", + "class", + "pier" + ] + ], + "layout": { + "line-cap": "round", + "line-join": "round" + }, + "paint": { + "line-color": "#45516E", + "line-width": { + "base": 1.2, + "stops": [ + [ + 15, + 1 + ], + [ + 17, + 4 + ] + ] + } + } + }, { "id": "highway_path", "type": "line",