adding waterway_tunnel
This commit is contained in:
parent
9169b0b2a1
commit
ce60febf7b
19
style.json
19
style.json
@ -120,12 +120,27 @@
|
||||
"filter": ["==", "class", "school"],
|
||||
"paint": {"fill-color": "rgb(236,238,204)"}
|
||||
},
|
||||
{
|
||||
"id": "waterway_tunnel",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "waterway",
|
||||
"filter": ["all", ["==", "brunnel", "tunnel"]],
|
||||
"layout": {"visibility": "visible"},
|
||||
"paint": {
|
||||
"line-color": "#a0c8f0",
|
||||
"line-dasharray": [3, 3],
|
||||
"line-gap-width": {"stops": [[12, 0], [20, 6]]},
|
||||
"line-opacity": 1,
|
||||
"line-width": {"base": 1.4, "stops": [[8, 1], [20, 2]]}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "waterway_river",
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "waterway",
|
||||
"filter": ["==", "class", "river"],
|
||||
"filter": ["all", ["==", "class", "river"], ["!=", "brunnel", "tunnel"]],
|
||||
"layout": {"line-cap": "round"},
|
||||
"paint": {
|
||||
"line-color": "#a0c8f0",
|
||||
@ -137,7 +152,7 @@
|
||||
"type": "line",
|
||||
"source": "openmaptiles",
|
||||
"source-layer": "waterway",
|
||||
"filter": ["all", ["!=", "class", "river"]],
|
||||
"filter": ["all", ["!=", "class", "river"], ["!=", "brunnel", "tunnel"]],
|
||||
"layout": {"line-cap": "round"},
|
||||
"paint": {
|
||||
"line-color": "#a0c8f0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user