Removed third marker from route preparation

This commit is contained in:
Alexey Kulish 2016-11-01 12:45:41 +03:00
parent acc9bc7fb0
commit c341b9df63

View file

@ -787,13 +787,15 @@ public class MapRouteInfoMenu implements IRouteInformationListener {
MapMarkerDialogHelper.getMapMarkerIcon(mapActivity.getMyApplication(), m.colorIndex),
m.getOnlyName()));
}
/*
if (markers.size() > 2) {
MapMarker m = markers.get(2);
actions.add(new RouteSpinnerRow(SPINNER_MAP_MARKER_3_ID,
MapMarkerDialogHelper.getMapMarkerIcon(mapActivity.getMyApplication(), m.colorIndex),
m.getOnlyName()));
}
if (markers.size() > 3) {
*/
if (markers.size() > 2) {
actions.add(new RouteSpinnerRow(SPINNER_MAP_MARKER_MORE_ID, 0,
mapActivity.getString(R.string.map_markers_other)));
}