add current and next characters to statusBar, try \u2551 and \u2566
This commit is contained in:
parent
a3b0b51388
commit
e13864e868
1 changed files with 2 additions and 2 deletions
|
@ -314,13 +314,13 @@ public class MapInfoWidgetsFactory {
|
|||
String text = null;
|
||||
if (routingHelper != null && routingHelper.isRouteCalculated()) {
|
||||
if (routingHelper.isFollowingMode()) {
|
||||
text = routingHelper.getCurrentName();
|
||||
text = "\u2551 " + routingHelper.getCurrentName();
|
||||
} else {
|
||||
int di = map.getMapLayers().getRouteInfoLayer().getDirectionInfo();
|
||||
if (di >= 0 && map.getMapLayers().getRouteInfoLayer().isVisible() &&
|
||||
di < routingHelper.getRouteDirections().size()) {
|
||||
RouteDirectionInfo next = routingHelper.getRouteDirections().get(di);
|
||||
text = RoutingHelper.formatStreetName(next.getStreetName(), next.getRef(), next.getDestinationName());
|
||||
text = "\u2566 " + RoutingHelper.formatStreetName(next.getStreetName(), next.getRef(), next.getDestinationName());
|
||||
}
|
||||
}
|
||||
} else if(map.getMapViewTrackingUtilities().isMapLinkedToLocation()) {
|
||||
|
|
Loading…
Reference in a new issue