Skip to content

Commit

Permalink
Add piers
Browse files Browse the repository at this point in the history
  • Loading branch information
jirik committed Dec 9, 2018
1 parent efb549a commit cf3fd57
Showing 1 changed file with 78 additions and 3 deletions.
81 changes: 78 additions & 3 deletions style.json
Original file line number Diff line number Diff line change
Expand Up @@ -1512,6 +1512,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": "#f4e9d9",
"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": "#f4e9d9",
"line-width": {
"base": 1.2,
"stops": [
[
15,
1
],
[
17,
4
]
]
}
}
},
{
"id": "highway-area",
"type": "fill",
Expand All @@ -1521,9 +1588,17 @@
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"==",
"$type",
"Polygon"
"all",
[
"==",
"$type",
"Polygon"
],
[
"!in",
"class",
"pier"
]
],
"layout": {
"visibility": "visible"
Expand Down

0 comments on commit cf3fd57

Please sign in to comment.