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 64bcadb commit 6e17283
Showing 1 changed file with 68 additions and 1 deletion.
69 changes: 68 additions & 1 deletion style.json
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,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": "rgb(12,12,12)",
"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": "rgb(12,12,12)",
"line-width": {
"base": 1.2,
"stops": [
[
15,
1
],
[
17,
4
]
]
}
}
},
{
"id": "highway_path",
"type": "line",
Expand Down Expand Up @@ -1855,4 +1922,4 @@
}
],
"id": "dark-matter"
}
}

0 comments on commit 6e17283

Please sign in to comment.