Add RouteTypeRule type STOP
This commit is contained in:
parent
cb8de77e33
commit
5470a5e693
1 changed files with 3 additions and 0 deletions
|
@ -52,6 +52,7 @@ public class BinaryMapRouteReaderAdapter {
|
||||||
public final static int TRAFFIC_SIGNALS = 6;
|
public final static int TRAFFIC_SIGNALS = 6;
|
||||||
public final static int RAILWAY_CROSSING = 7;
|
public final static int RAILWAY_CROSSING = 7;
|
||||||
private final static int LANES = 8;
|
private final static int LANES = 8;
|
||||||
|
private final static int STOP = 9;
|
||||||
private final String t;
|
private final String t;
|
||||||
private final String v;
|
private final String v;
|
||||||
private int intValue;
|
private int intValue;
|
||||||
|
@ -150,6 +151,8 @@ public class BinaryMapRouteReaderAdapter {
|
||||||
}
|
}
|
||||||
} else if(t.equalsIgnoreCase("highway") && "traffic_signals".equals(v)){
|
} else if(t.equalsIgnoreCase("highway") && "traffic_signals".equals(v)){
|
||||||
type = TRAFFIC_SIGNALS;
|
type = TRAFFIC_SIGNALS;
|
||||||
|
} else if(t.equalsIgnoreCase("highway") && "stop".equals(v)){
|
||||||
|
type = STOP;
|
||||||
} else if(t.equalsIgnoreCase("railway") && ("crossing".equals(v) || "level_crossing".equals(v))){
|
} else if(t.equalsIgnoreCase("railway") && ("crossing".equals(v) || "level_crossing".equals(v))){
|
||||||
type = RAILWAY_CROSSING;
|
type = RAILWAY_CROSSING;
|
||||||
} else if(t.equalsIgnoreCase("roundabout") && v != null){
|
} else if(t.equalsIgnoreCase("roundabout") && v != null){
|
||||||
|
|
Loading…
Reference in a new issue