forked from MapComplete/MapComplete
Sunny: render underground rivers and streams differently
This commit is contained in:
parent
05bba071dc
commit
c9d9b7a237
2 changed files with 159 additions and 0 deletions
public/assets
|
@ -486,6 +486,11 @@
|
|||
"in",
|
||||
"pmap:kind",
|
||||
"stream"
|
||||
],
|
||||
[
|
||||
">=",
|
||||
"pmap:level",
|
||||
0
|
||||
]
|
||||
],
|
||||
"paint": {
|
||||
|
@ -505,6 +510,11 @@
|
|||
"in",
|
||||
"pmap:kind",
|
||||
"river"
|
||||
],
|
||||
[
|
||||
">=",
|
||||
"pmap:level",
|
||||
0
|
||||
]
|
||||
],
|
||||
"paint": {
|
||||
|
@ -527,6 +537,76 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "physical_line_underground_stream",
|
||||
"type": "line",
|
||||
"source": "protomaps",
|
||||
"source-layer": "physical_line",
|
||||
"minzoom": 14,
|
||||
"filter": [
|
||||
"all",
|
||||
[
|
||||
"in",
|
||||
"pmap:kind",
|
||||
"stream"
|
||||
],
|
||||
[
|
||||
"<",
|
||||
"pmap:level",
|
||||
0
|
||||
]
|
||||
],
|
||||
"paint": {
|
||||
"line-color": "#85c2e9",
|
||||
"line-width": 0.5
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "physical_line_underground_river",
|
||||
"type": "line",
|
||||
"source": "protomaps",
|
||||
"source-layer": "physical_line",
|
||||
"minzoom": 9,
|
||||
"filter": [
|
||||
"all",
|
||||
[
|
||||
"in",
|
||||
"pmap:kind",
|
||||
"river"
|
||||
],
|
||||
[
|
||||
"<",
|
||||
"pmap:level",
|
||||
0
|
||||
]
|
||||
],
|
||||
"layout": {
|
||||
"line-cap": "round"
|
||||
},
|
||||
"paint": {
|
||||
"line-color": "#85c2e9",
|
||||
"line-dasharray": [
|
||||
0.75,
|
||||
1.75
|
||||
],
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
[
|
||||
"exponential",
|
||||
1.6
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
9,
|
||||
0,
|
||||
9.5,
|
||||
1,
|
||||
18,
|
||||
6
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "landuse_pedestrian",
|
||||
"type": "fill",
|
||||
|
|
|
@ -485,6 +485,11 @@
|
|||
"in",
|
||||
"pmap:kind",
|
||||
"stream"
|
||||
],
|
||||
[
|
||||
">=",
|
||||
"pmap:level",
|
||||
0
|
||||
]
|
||||
],
|
||||
"paint": {
|
||||
|
@ -504,6 +509,11 @@
|
|||
"in",
|
||||
"pmap:kind",
|
||||
"river"
|
||||
],
|
||||
[
|
||||
">=",
|
||||
"pmap:level",
|
||||
0
|
||||
]
|
||||
],
|
||||
"paint": {
|
||||
|
@ -526,6 +536,75 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "physical_line_underground_stream",
|
||||
"type": "line",
|
||||
"source": "protomaps",
|
||||
"source-layer": "physical_line",
|
||||
"minzoom": 14,
|
||||
"filter": [
|
||||
"all",
|
||||
[
|
||||
"in",
|
||||
"pmap:kind",
|
||||
"stream"
|
||||
],
|
||||
[
|
||||
"<",
|
||||
"pmap:level",
|
||||
0
|
||||
]
|
||||
],
|
||||
"paint": {
|
||||
"line-color": "#85c2e9",
|
||||
"line-width": 0.5
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "physical_line_underground_river",
|
||||
"type": "line",
|
||||
"source": "protomaps",
|
||||
"source-layer": "physical_line",
|
||||
"minzoom": 9,
|
||||
"filter": [
|
||||
"all",
|
||||
[
|
||||
"in",
|
||||
"pmap:kind",
|
||||
"river"
|
||||
],
|
||||
[
|
||||
"<",
|
||||
"pmap:level",
|
||||
0
|
||||
]
|
||||
],
|
||||
"layout": {
|
||||
"line-cap": "round"
|
||||
},
|
||||
"paint": {
|
||||
"line-color": "#85c2e9",
|
||||
"line-dasharray": [
|
||||
0.75,1.75
|
||||
],
|
||||
"line-width": [
|
||||
"interpolate",
|
||||
[
|
||||
"exponential",
|
||||
1.6
|
||||
],
|
||||
[
|
||||
"zoom"
|
||||
],
|
||||
9,
|
||||
0,
|
||||
9.5,
|
||||
1,
|
||||
18,
|
||||
6
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "landuse_pedestrian",
|
||||
"type": "fill",
|
||||
|
|
Loading…
Add table
Reference in a new issue