try supporting destination:lang: in BinaryMaRouteReader

This commit is contained in:
sonora 2016-10-26 20:56:22 +02:00
parent 90fc6ee72c
commit a610e23988

View file

@ -235,7 +235,7 @@ public class BinaryMapRouteReaderAdapter {
nameTypeRule = id;
} else if (tags.equals("ref")) {
refTypeRule = id;
} else if (tags.equals("destination") || tags.equals("destination:forward") || tags.equals("destination:backward")) {
} else if (tags.equals("destination") || tags.equals("destination:forward") || tags.equals("destination:backward") || tags.startsWith("destination:lang:")) {
destinationTypeRule = id;
} else if (tags.equals("destination:ref") || tags.equals("destination:ref:forward") || tags.equals("destination:ref:backward")) {
destinationRefTypeRule = id;