mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-29 22:03:55 +01:00
parent
e70db1476c
commit
7a633efde1
1 changed files with 2 additions and 4 deletions
|
|
@ -1386,8 +1386,7 @@ public class NearbyParentFragment extends CommonsDaggerSupportFragment
|
||||||
setProgressBarVisibility(false);
|
setProgressBarVisibility(false);
|
||||||
presenter.lockUnlockNearby(false);
|
presenter.lockUnlockNearby(false);
|
||||||
} else {
|
} else {
|
||||||
updateMapMarkers(nearbyPlacesInfo.placeList, nearbyPlacesInfo.currentLatLng,
|
updateMapMarkers(nearbyPlacesInfo.placeList, searchLatLng, true);
|
||||||
true);
|
|
||||||
lastFocusLocation = searchLatLng;
|
lastFocusLocation = searchLatLng;
|
||||||
lastMapFocus = new GeoPoint(searchLatLng.getLatitude(),
|
lastMapFocus = new GeoPoint(searchLatLng.getLatitude(),
|
||||||
searchLatLng.getLongitude());
|
searchLatLng.getLongitude());
|
||||||
|
|
@ -1430,8 +1429,7 @@ public class NearbyParentFragment extends CommonsDaggerSupportFragment
|
||||||
|
|
||||||
// curLatLng is used to calculate distance from the current location to the place
|
// curLatLng is used to calculate distance from the current location to the place
|
||||||
// and distance is later on populated to the place
|
// and distance is later on populated to the place
|
||||||
updateMapMarkers(nearbyPlacesInfo.placeList, nearbyPlacesInfo.currentLatLng,
|
updateMapMarkers(nearbyPlacesInfo.placeList, searchLatLng, false);
|
||||||
false);
|
|
||||||
lastMapFocus = new GeoPoint(searchLatLng.getLatitude(),
|
lastMapFocus = new GeoPoint(searchLatLng.getLatitude(),
|
||||||
searchLatLng.getLongitude());
|
searchLatLng.getLongitude());
|
||||||
stopQuery();
|
stopQuery();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue