openmaptiles/layers/waterway/style.json

373 wiersze
6.5 KiB
JSON

{
"layers": [
{
"id": "waterway_tunnel",
"type": "line",
"source": "openmaptiles",
"source-layer": "waterway",
"minzoom": 14,
"layout": {
"line-cap": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#a0c8f0",
"line-width": {
"base": 1.3,
"stops": [
[
13,
0.5
],
[
20,
6
]
]
},
"line-dasharray": [
2,
4
]
},
"filter": [
"all",
[
"==",
"brunnel",
"tunnel"
]
],
"order": 12
},
{
"id": "waterway_river",
"type": "line",
"source": "openmaptiles",
"source-layer": "waterway",
"layout": {
"line-cap": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#a0c8f0",
"line-width": {
"base": 1.2,
"stops": [
[
11,
0.5
],
[
20,
6
]
]
}
},
"metadata": {},
"filter": [
"all",
[
"==",
"class",
"river"
],
[
"!=",
"brunnel",
"tunnel"
],
[
"!=",
"intermittent",
1
]
],
"order": 13
},
{
"id": "waterway_river_intermittent",
"type": "line",
"source": "openmaptiles",
"source-layer": "waterway",
"layout": {
"line-cap": "round"
},
"paint": {
"line-color": "#a0c8f0",
"line-width": {
"base": 1.2,
"stops": [
[
11,
0.5
],
[
20,
6
]
]
},
"line-dasharray": [
3,
2
]
},
"metadata": {},
"filter": [
"all",
[
"==",
"class",
"river"
],
[
"!=",
"brunnel",
"tunnel"
],
[
"==",
"intermittent",
1
]
],
"order": 14
},
{
"id": "waterway_other",
"type": "line",
"source": "openmaptiles",
"source-layer": "waterway",
"layout": {
"line-cap": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#a0c8f0",
"line-width": {
"base": 1.3,
"stops": [
[
13,
0.5
],
[
20,
6
]
]
}
},
"metadata": {},
"filter": [
"all",
[
"!=",
"class",
"river"
],
[
"!=",
"brunnel",
"tunnel"
],
[
"!=",
"intermittent",
1
]
],
"order": 15
},
{
"id": "waterway_other_intermittent",
"type": "line",
"source": "openmaptiles",
"source-layer": "waterway",
"layout": {
"line-cap": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#a0c8f0",
"line-width": {
"base": 1.3,
"stops": [
[
13,
0.5
],
[
20,
6
]
]
},
"line-dasharray": [
4,
3
]
},
"metadata": {},
"filter": [
"all",
[
"!=",
"class",
"river"
],
[
"!=",
"brunnel",
"tunnel"
],
[
"==",
"intermittent",
1
]
],
"order": 16
},
{
"id": "waterway-bridge-case",
"type": "line",
"source": "openmaptiles",
"source-layer": "waterway",
"layout": {
"line-cap": "butt",
"line-join": "miter"
},
"paint": {
"line-color": "#bbbbbb",
"line-width": {
"base": 1.6,
"stops": [
[
12,
0.5
],
[
20,
5
]
]
},
"line-gap-width": {
"base": 1.3,
"stops": [
[
13,
0.5
],
[
20,
6
]
]
}
},
"filter": [
"all",
[
"==",
"$type",
"LineString"
],
[
"==",
"brunnel",
"bridge"
]
],
"order": 111
},
{
"id": "waterway-bridge",
"type": "line",
"source": "openmaptiles",
"source-layer": "waterway",
"layout": {
"line-cap": "round",
"line-join": "round"
},
"paint": {
"line-color": "rgba(134, 204, 250, 1)",
"line-width": {
"base": 1.3,
"stops": [
[
13,
0.5
],
[
20,
6
]
]
}
},
"filter": [
"all",
[
"==",
"$type",
"LineString"
],
[
"==",
"brunnel",
"bridge"
]
],
"order": 112
},
{
"id": "water_way_name",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "waterway",
"minzoom": 0,
"layout": {
"text-font": [
"Noto Sans Regular",
"Noto Sans Bold"
],
"text-size": {
"stops": [
[
11,
10
],
[
13,
12
]
]
},
"text-field": "{name:latin}\n{name:nonlatin}",
"visibility": "visible",
"symbol-spacing": 400,
"text-max-width": 5,
"symbol-placement": "line"
},
"paint": {
"text-color": "#4d80b3",
"text-halo-color": "rgba(255, 255, 255, 0.8)",
"text-halo-width": 1
},
"metadata": {},
"filter": [
"all",
[
"==",
"$type",
"LineString"
]
],
"order": 151
}
]
}