Skip to content

Commit a24caa0

Browse files
committed
some clarifying comments
1 parent b7a97e5 commit a24caa0

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

scene.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,25 @@
1919
},
2020
layers: {
2121
roads: {
22-
filter: { not: [{ kind: "rail" }, { kind_detail: "trunk" }, { kind_detail: "trunk_link" }] },
22+
filter: {
23+
// here we extend the base "roads" filtering rules, to capture some
24+
// road types that are not explicitly targeted elsewhere
25+
not: [
26+
{ kind: "rail" },
27+
{ kind_detail: "trunk" },
28+
{ kind_detail: "trunk_link" }
29+
]
30+
},
2331
highway: {
2432
visible: false
2533
},
34+
// one-way directional arrows must go as well!
2635
arrows: {
2736
filter: {
2837
none: [{kind:"highway"},{kind:"motorway"}]
2938
}
3039
},
40+
// exit numbers
3141
'highway-exit': {
3242
visible: false
3343
},

0 commit comments

Comments
 (0)