Merge pull request #7687 from osmandapp/issue_7599

lower tertiary roads value in speak_priority #7599
This commit is contained in:
vshcherb 2019-10-21 10:06:00 +02:00 committed by GitHub
commit b4d2dc0e3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1026,7 +1026,7 @@ public class RouteResultPreparation {
return MAX_SPEAK_PRIORITY;
}
if (highway.endsWith("_link") || highway.endsWith("unclassified") || highway.endsWith("road")
|| highway.endsWith("living_street") || highway.endsWith("residential") ) {
|| highway.endsWith("living_street") || highway.endsWith("residential") || highway.endsWith("tertiary") ) {
return 1;
}
return 0;