This commit is contained in:
Alexey Kulish 2016-02-28 18:41:11 +03:00
parent 57cb3ae611
commit 00f8e6854e
4 changed files with 3 additions and 7 deletions

View file

@ -9,6 +9,7 @@
3. All your modified/created strings are in the top of the file (to make easier find what\'s translated).
PLEASE: Have a look at http://code.google.com/p/osmand/wiki/UIConsistency, it may really improve your and our work :-) Thx - Hardy
-->
<string name="shared_string_topbar">Topbar</string>
<string name="recalculate_route">Recalculate route</string>
<string name="donations">Donations</string>
<string name="number_of_recipients">Number of recipients</string>

View file

@ -255,7 +255,6 @@ public class MapMarkersHelper {
public void removeActiveMarkers() {
cancelAddressRequests();
List<MapMarker> markers = new ArrayList<>(mapMarkers.size());
for (int i = mapMarkers.size() - 1; i>= 0; i--) {
MapMarker marker = mapMarkers.get(i);
addMapMarkerHistory(marker);
@ -320,7 +319,7 @@ public class MapMarkersHelper {
selections[i] = false;
indexes[i] = 0;
}
/*
/* adding map marker to second topbar's row
if (sortedMapMarkers.size() > 0) {
MapMarker firstMarker = sortedMapMarkers.get(0);
settings.updateMapMarker(firstMarker.getLatitude(), firstMarker.getLongitude(),

View file

@ -2475,7 +2475,7 @@ public class OsmandSettings {
}
public enum MapMarkersMode {
TOOLBAR(R.string.shared_string_toolbar),
TOOLBAR(R.string.shared_string_topbar),
WIDGETS(R.string.shared_string_widgets),
NONE(R.string.shared_string_none);

View file

@ -322,10 +322,6 @@ public class DashboardOnMap implements ObservableScrollViewCallbacks, DynamicLis
mapActivity.getMapActions().stopNavigationWithoutConfirm();
mapActivity.getMapLayers().getMapControlsLayer().getMapRouteInfoMenu().hide();
}
//} else {
// if (visibleType == DashboardType.MAP_MARKERS || visibleType == DashboardType.MAP_MARKERS_SELECTION) {
// reloadAdapter();
// }
}
}
}