Skip to content

Commit

Permalink
Add waterway tunnels
Browse files Browse the repository at this point in the history
  • Loading branch information
jirik committed Apr 27, 2018
1 parent a94e6cc commit efb549a
Showing 1 changed file with 70 additions and 7 deletions.
77 changes: 70 additions & 7 deletions style.json
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,53 @@
"fill-opacity": 0.8
}
},
{
"id": "waterway-tunnel",
"type": "line",
"metadata": {
"mapbox:group": "1444849382550.77"
},
"source": "openmaptiles",
"source-layer": "waterway",
"filter": [
"all",
[
"in",
"class",
"canal",
"river",
"stream"
],
[
"==",
"brunnel",
"tunnel"
]
],
"layout": {
"line-cap": "round"
},
"paint": {
"line-color": "#a0c8f0",
"line-width": {
"base": 1.2,
"stops": [
[
10,
0.5
],
[
20,
2
]
]
},
"line-dasharray": [
2,
4
]
}
},
{
"id": "waterway-other",
"type": "line",
Expand Down Expand Up @@ -354,10 +401,18 @@
"source": "openmaptiles",
"source-layer": "waterway",
"filter": [
"in",
"class",
"canal",
"stream"
"all",
[
"in",
"class",
"canal",
"stream"
],
[
"!=",
"brunnel",
"tunnel"
]
],
"layout": {
"line-cap": "round"
Expand Down Expand Up @@ -388,9 +443,17 @@
"source": "openmaptiles",
"source-layer": "waterway",
"filter": [
"==",
"class",
"river"
"all",
[
"==",
"class",
"river"
],
[
"!=",
"brunnel",
"tunnel"
]
],
"layout": {
"line-cap": "round"
Expand Down

0 comments on commit efb549a

Please sign in to comment.