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 f45ca01 commit 92f474d
Showing 1 changed file with 67 additions and 0 deletions.
67 changes: 67 additions & 0 deletions style.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 92f474d

Please sign in to comment.