diff --git a/app/src/main/java/it/danieleverducci/nextcloudmaps/fragments/GeofavoriteMapFragment.java b/app/src/main/java/it/danieleverducci/nextcloudmaps/fragments/GeofavoriteMapFragment.java index 94faeb0..730255a 100644 --- a/app/src/main/java/it/danieleverducci/nextcloudmaps/fragments/GeofavoriteMapFragment.java +++ b/app/src/main/java/it/danieleverducci/nextcloudmaps/fragments/GeofavoriteMapFragment.java @@ -94,6 +94,7 @@ public class GeofavoriteMapFragment extends GeofavoritesFragment implements Main public void onChanged(List geofavorites) { for(Geofavorite gf : geofavorites) addMarker(gf); + map.invalidate(); } }); diff --git a/app/src/main/res/layout/fragment_geofavorite_map.xml b/app/src/main/res/layout/fragment_geofavorite_map.xml index efc438b..1e29629 100644 --- a/app/src/main/res/layout/fragment_geofavorite_map.xml +++ b/app/src/main/res/layout/fragment_geofavorite_map.xml @@ -8,6 +8,11 @@ android:layout_width="match_parent" android:layout_height="match_parent"> + + - -