Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
catching other grade-separated roads with a trick
- Loading branch information
Showing
with
11 additions
and
1 deletion.
-
+11
−1
scene.js
|
@@ -41,8 +41,18 @@ |
|
|
visible: false |
|
|
}, |
|
|
major_road: { |
|
|
filter: { |
|
|
kind: "major_road", |
|
|
not: function() { |
|
|
return feature.kind_detail === "primary" && feature.shield_text; |
|
|
}, |
|
|
}, |
|
|
trunk_primary: { |
|
|
filter: { kind_detail: ["primary"] } |
|
|
// this leaves *most* crossable primary roads, trying to exclude |
|
|
// roads with shield text aka highway-like roads? |
|
|
filter: function() { |
|
|
return feature.kind_detail === "primary" && !feature.shield_text; |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|