Show markers/favorites on map after adding marker/favorite
This commit is contained in:
parent
7232bc23ac
commit
8ee0e078d0
2 changed files with 2 additions and 0 deletions
|
@ -187,6 +187,7 @@ public class FavouritesDbHelper {
|
|||
if (p.getName().equals("") && flatGroups.containsKey(p.getCategory())) {
|
||||
return true;
|
||||
}
|
||||
context.getSettings().SHOW_FAVORITES.set(true);
|
||||
FavoriteGroup group = getOrCreateGroup(p, 0);
|
||||
|
||||
if (!p.getName().equals("")) {
|
||||
|
|
|
@ -858,6 +858,7 @@ public class MapMarkersHelper {
|
|||
@Nullable List<WptPt> wptPts,
|
||||
@Nullable List<String> mapObjNames) {
|
||||
if (points.size() > 0) {
|
||||
settings.SHOW_MAP_MARKERS.set(true);
|
||||
int colorIndex = -1;
|
||||
List<MapMarker> addedMarkers = new ArrayList<>();
|
||||
for (int i = 0; i < points.size(); i++) {
|
||||
|
|
Loading…
Reference in a new issue