Fixed map not redrawn after elements added
This commit is contained in:
		@@ -94,6 +94,7 @@ public class GeofavoriteMapFragment extends GeofavoritesFragment implements Main
 | 
			
		||||
            public void onChanged(List<Geofavorite> geofavorites) {
 | 
			
		||||
                for(Geofavorite gf : geofavorites)
 | 
			
		||||
                    addMarker(gf);
 | 
			
		||||
                map.invalidate();
 | 
			
		||||
            }
 | 
			
		||||
        });
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -8,6 +8,11 @@
 | 
			
		||||
    android:layout_width="match_parent"
 | 
			
		||||
    android:layout_height="match_parent">
 | 
			
		||||
 | 
			
		||||
    <org.osmdroid.views.MapView
 | 
			
		||||
        android:id="@+id/map"
 | 
			
		||||
        android:layout_width="match_parent"
 | 
			
		||||
        android:layout_height="match_parent"/>
 | 
			
		||||
 | 
			
		||||
    <FrameLayout
 | 
			
		||||
        android:id="@+id/loading_wall"
 | 
			
		||||
        android:layout_width="match_parent"
 | 
			
		||||
@@ -23,11 +28,6 @@
 | 
			
		||||
 | 
			
		||||
    </FrameLayout>
 | 
			
		||||
 | 
			
		||||
    <org.osmdroid.views.MapView
 | 
			
		||||
        android:id="@+id/map"
 | 
			
		||||
        android:layout_width="match_parent"
 | 
			
		||||
        android:layout_height="match_parent"/>
 | 
			
		||||
 | 
			
		||||
    <androidx.appcompat.widget.LinearLayoutCompat
 | 
			
		||||
        android:id="@+id/appBar"
 | 
			
		||||
        android:layout_width="match_parent"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user