use >>
This commit is contained in:
parent
488285c3ed
commit
c7eef1c627
2 changed files with 4 additions and 4 deletions
|
@ -755,14 +755,14 @@ public class RoutingHelper {
|
||||||
if(next != null) {
|
if(next != null) {
|
||||||
next[0] = n.directionInfo.getTurnType();
|
next[0] = n.directionInfo.getTurnType();
|
||||||
}
|
}
|
||||||
return formatStreetName(nm, rf, dn, "»");
|
return formatStreetName(nm, rf, dn, ">>");
|
||||||
}
|
}
|
||||||
RouteSegmentResult rs = getCurrentSegmentResult();
|
RouteSegmentResult rs = getCurrentSegmentResult();
|
||||||
if(rs != null) {
|
if(rs != null) {
|
||||||
String nm = rs.getObject().getName(settings.MAP_PREFERRED_LOCALE.get());
|
String nm = rs.getObject().getName(settings.MAP_PREFERRED_LOCALE.get());
|
||||||
String rf = rs.getObject().getRef();
|
String rf = rs.getObject().getRef();
|
||||||
String dn = rs.getObject().getDestinationName(settings.MAP_PREFERRED_LOCALE.get());
|
String dn = rs.getObject().getDestinationName(settings.MAP_PREFERRED_LOCALE.get());
|
||||||
return formatStreetName(nm, rf, dn, "»");
|
return formatStreetName(nm, rf, dn, ">>");
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
|
@ -566,7 +566,7 @@ public class MapInfoWidgetsFactory {
|
||||||
RouteDirectionInfo next = routingHelper.getRouteDirections().get(di);
|
RouteDirectionInfo next = routingHelper.getRouteDirections().get(di);
|
||||||
type[0] = next.getTurnType();
|
type[0] = next.getTurnType();
|
||||||
turnDrawable.setColor(R.color.nav_arrow_distant);
|
turnDrawable.setColor(R.color.nav_arrow_distant);
|
||||||
text = RoutingHelper.formatStreetName(next.getStreetName(), next.getRef(), next.getDestinationName(), "»");
|
text = RoutingHelper.formatStreetName(next.getStreetName(), next.getRef(), next.getDestinationName(), ">>");
|
||||||
// if (next.distance > 0) {
|
// if (next.distance > 0) {
|
||||||
// text += " " + OsmAndFormatter.getFormattedDistance(next.distance, map.getMyApplication());
|
// text += " " + OsmAndFormatter.getFormattedDistance(next.distance, map.getMyApplication());
|
||||||
// }
|
// }
|
||||||
|
@ -581,7 +581,7 @@ public class MapInfoWidgetsFactory {
|
||||||
RouteDataObject rt = locationProvider.getLastKnownRouteSegment();
|
RouteDataObject rt = locationProvider.getLastKnownRouteSegment();
|
||||||
if (rt != null) {
|
if (rt != null) {
|
||||||
text = RoutingHelper.formatStreetName(rt.getName(settings.MAP_PREFERRED_LOCALE.get()),
|
text = RoutingHelper.formatStreetName(rt.getName(settings.MAP_PREFERRED_LOCALE.get()),
|
||||||
rt.getRef(), rt.getDestinationName(settings.MAP_PREFERRED_LOCALE.get()), "»");
|
rt.getRef(), rt.getDestinationName(settings.MAP_PREFERRED_LOCALE.get()), ">>");
|
||||||
}
|
}
|
||||||
if (text == null) {
|
if (text == null) {
|
||||||
text = "";
|
text = "";
|
||||||
|
|
Loading…
Reference in a new issue