Merge pull request #26 from pathmapper/gh-pages

Add layers for railway class=transit
pull/28/head
Orange Mug 6 years ago committed by GitHub
commit 28c0c30bf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1169,6 +1169,90 @@
]
]
},
{
"id": "tunnel_transit_rail",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"==",
"brunnel",
"tunnel"
],
[
"in",
"class",
"transit"
]
],
"paint": {
"line-color": "#bbb",
"line-width": {
"base": 1.4,
"stops": [
[
14,
0.4
],
[
15,
0.75
],
[
20,
2
]
]
}
}
},
{
"id": "tunnel_transit_rail_hatching",
"metadata": {},
"paint": {
"line-color": "#bbb",
"line-dasharray": [
0.2,
8
],
"line-width": {
"base": 1.4,
"stops": [
[
14.5,
0
],
[
15,
3
],
[
20,
8
]
]
}
},
"type": "line",
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"==",
"brunnel",
"tunnel"
],
[
"==",
"class",
"transit"
]
]
},
{
"id": "road_area_pattern",
"metadata": {},
@ -2034,6 +2118,92 @@
"rail"
]
]
},
{
"id": "road_transit_rail",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"!in",
"brunnel",
"bridge",
"tunnel"
],
[
"==",
"class",
"transit"
]
],
"paint": {
"line-color": "#bbb",
"line-width": {
"base": 1.4,
"stops": [
[
14,
0.4
],
[
15,
0.75
],
[
20,
2
]
]
}
}
},
{
"id": "road_transit_rail_hatching",
"metadata": {},
"paint": {
"line-color": "#bbb",
"line-dasharray": [
0.2,
8
],
"line-width": {
"base": 1.4,
"stops": [
[
14.5,
0
],
[
15,
3
],
[
20,
8
]
]
}
},
"type": "line",
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"!in",
"brunnel",
"bridge",
"tunnel"
],
[
"==",
"class",
"transit"
]
]
},
{
"id": "road_minor-copy",
@ -2979,6 +3149,90 @@
]
]
},
{
"id": "bridge_transit_rail",
"type": "line",
"metadata": {},
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"==",
"class",
"transit"
],
[
"==",
"brunnel",
"bridge"
]
],
"paint": {
"line-color": "#bbb",
"line-width": {
"base": 1.4,
"stops": [
[
14,
0.4
],
[
15,
0.75
],
[
20,
2
]
]
}
}
},
{
"id": "bridge_transit_rail_hatching",
"metadata": {},
"paint": {
"line-color": "#bbb",
"line-dasharray": [
0.2,
8
],
"line-width": {
"base": 1.4,
"stops": [
[
14.5,
0
],
[
15,
3
],
[
20,
8
]
]
}
},
"type": "line",
"source": "openmaptiles",
"source-layer": "transportation",
"filter": [
"all",
[
"==",
"class",
"transit"
],
[
"==",
"brunnel",
"bridge"
]
]
},
{
"id": "boundary_3",
"type": "line",

Loading…
Cancel
Save