Test build exporing non-speakable turns
This commit is contained in:
parent
66cbc69120
commit
73021a06ab
1 changed files with 5 additions and 3 deletions
|
@ -813,9 +813,11 @@ public class RouteCalculationResult {
|
|||
cacheAgreggatedDirections = new ArrayList<RouteDirectionInfo>();
|
||||
RouteDirectionInfo p = null;
|
||||
for(RouteDirectionInfo i : list) {
|
||||
if(p == null || !i.getTurnType().isSkipToSpeak() ||
|
||||
(!Algorithms.objectEquals(p.getRef(), i.getRef()) &&
|
||||
!Algorithms.objectEquals(p.getStreetName(), i.getStreetName()))) {
|
||||
// if(p == null || !i.getTurnType().isSkipToSpeak() ||
|
||||
// (!Algorithms.objectEquals(p.getRef(), i.getRef()) &&
|
||||
// !Algorithms.objectEquals(p.getStreetName(), i.getStreetName()))) {
|
||||
// Just a temporary test
|
||||
if(p == null || !i.getTurnType().isSkipToSpeak()) {
|
||||
p = new RouteDirectionInfo(i.getAverageSpeed(), i.getTurnType());
|
||||
p.routePointOffset = i.routePointOffset;
|
||||
p.routeEndPointOffset = i.routeEndPointOffset;
|
||||
|
|
Loading…
Reference in a new issue