isDeviatedFromRoute() detection for street name display
This commit is contained in:
parent
8c33f5502d
commit
e15a9bb3a2
1 changed files with 11 additions and 12 deletions
|
@ -293,12 +293,11 @@ public class MapInfoWidgetsFactory {
|
|||
}
|
||||
|
||||
|
||||
|
||||
public boolean updateInfo(DrawSettings d) {
|
||||
String text = null;
|
||||
TurnType[] type = new TurnType[1];
|
||||
boolean showNextTurn = false;
|
||||
if (routingHelper != null && routingHelper.isRouteCalculated()) {
|
||||
if (routingHelper != null && routingHelper.isRouteCalculated() && !routingHelper.isDeviatedFromRoute()) {
|
||||
if (routingHelper.isFollowingMode()) {
|
||||
if (settings.SHOW_STREET_NAME.get()) {
|
||||
text = routingHelper.getCurrentName(type);
|
||||
|
|
Loading…
Reference in a new issue