Skip to content

Commit efb549a

Browse files
committed
Add waterway tunnels
1 parent a94e6cc commit efb549a

File tree

1 file changed

+70
-7
lines changed

1 file changed

+70
-7
lines changed

style.json

+70-7
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,53 @@
310310
"fill-opacity": 0.8
311311
}
312312
},
313+
{
314+
"id": "waterway-tunnel",
315+
"type": "line",
316+
"metadata": {
317+
"mapbox:group": "1444849382550.77"
318+
},
319+
"source": "openmaptiles",
320+
"source-layer": "waterway",
321+
"filter": [
322+
"all",
323+
[
324+
"in",
325+
"class",
326+
"canal",
327+
"river",
328+
"stream"
329+
],
330+
[
331+
"==",
332+
"brunnel",
333+
"tunnel"
334+
]
335+
],
336+
"layout": {
337+
"line-cap": "round"
338+
},
339+
"paint": {
340+
"line-color": "#a0c8f0",
341+
"line-width": {
342+
"base": 1.2,
343+
"stops": [
344+
[
345+
10,
346+
0.5
347+
],
348+
[
349+
20,
350+
2
351+
]
352+
]
353+
},
354+
"line-dasharray": [
355+
2,
356+
4
357+
]
358+
}
359+
},
313360
{
314361
"id": "waterway-other",
315362
"type": "line",
@@ -354,10 +401,18 @@
354401
"source": "openmaptiles",
355402
"source-layer": "waterway",
356403
"filter": [
357-
"in",
358-
"class",
359-
"canal",
360-
"stream"
404+
"all",
405+
[
406+
"in",
407+
"class",
408+
"canal",
409+
"stream"
410+
],
411+
[
412+
"!=",
413+
"brunnel",
414+
"tunnel"
415+
]
361416
],
362417
"layout": {
363418
"line-cap": "round"
@@ -388,9 +443,17 @@
388443
"source": "openmaptiles",
389444
"source-layer": "waterway",
390445
"filter": [
391-
"==",
392-
"class",
393-
"river"
446+
"all",
447+
[
448+
"==",
449+
"class",
450+
"river"
451+
],
452+
[
453+
"!=",
454+
"brunnel",
455+
"tunnel"
456+
]
394457
],
395458
"layout": {
396459
"line-cap": "round"

0 commit comments

Comments
 (0)