Do not show too far lanes information
This commit is contained in:
parent
c43b2f0ebd
commit
38a7520f1a
1 changed files with 1 additions and 1 deletions
|
@ -884,7 +884,7 @@ public class MapInfoLayer extends OsmandMapLayer {
|
||||||
loclanes = r.directionInfo.getTurnType().getLanes();
|
loclanes = r.directionInfo.getTurnType().getLanes();
|
||||||
locimminent = r.imminent;
|
locimminent = r.imminent;
|
||||||
// Do not show too far
|
// Do not show too far
|
||||||
if(locimminent == 2 || locimminent < 0) {
|
if(r.distanceTo > 700 || (r.distanceTo > 1200 && !r.directionInfo.getTurnType().isSkipToSpeak())) {
|
||||||
loclanes = null;
|
loclanes = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue