mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-05-27 02:25:10 +00:00
revert rivers
This commit is contained in:
@@ -21,6 +21,65 @@
|
|||||||
"type": "raster",
|
"type": "raster",
|
||||||
"source": "esri"
|
"source": "esri"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"id": "waterway_river",
|
||||||
|
"type": "line",
|
||||||
|
"source": "openmaptiles",
|
||||||
|
"source-layer": "waterway",
|
||||||
|
"filter": [
|
||||||
|
"all",
|
||||||
|
["==", ["get", "class"], "river"],
|
||||||
|
["!=", ["get", "brunnel"], "tunnel"]
|
||||||
|
],
|
||||||
|
"layout": {"line-cap": "round"},
|
||||||
|
"paint": {
|
||||||
|
"line-color": "#a0c8f0",
|
||||||
|
"line-width": [
|
||||||
|
"interpolate",
|
||||||
|
["exponential", 1.2],
|
||||||
|
["zoom"],
|
||||||
|
11,
|
||||||
|
0.5,
|
||||||
|
20,
|
||||||
|
6
|
||||||
|
],
|
||||||
|
"line-opacity":[
|
||||||
|
"interpolate", ["linear"], ["zoom"],
|
||||||
|
13, 0.5,
|
||||||
|
15, 0.3
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "waterway_other",
|
||||||
|
"type": "line",
|
||||||
|
"source": "openmaptiles",
|
||||||
|
"source-layer": "waterway",
|
||||||
|
"filter": [
|
||||||
|
"all",
|
||||||
|
["!=", ["get", "class"], "river"],
|
||||||
|
["!=", ["get", "brunnel"], "tunnel"]
|
||||||
|
],
|
||||||
|
"layout": {"line-cap": "round"},
|
||||||
|
"paint": {
|
||||||
|
"line-color": "#a0c8f0",
|
||||||
|
"line-width": [
|
||||||
|
"interpolate",
|
||||||
|
["exponential", 1.3],
|
||||||
|
["zoom"],
|
||||||
|
13,
|
||||||
|
0.5,
|
||||||
|
20,
|
||||||
|
6
|
||||||
|
],
|
||||||
|
"line-opacity":[
|
||||||
|
"interpolate", ["linear"], ["zoom"],
|
||||||
|
13, 0.5,
|
||||||
|
15, 0.3
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "tunnel_path_pedestrian",
|
"id": "tunnel_path_pedestrian",
|
||||||
"type": "line",
|
"type": "line",
|
||||||
|
|||||||
Reference in New Issue
Block a user