We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ada67e0 commit de7a49bCopy full SHA for de7a49b
app/src/main/java/fr/free/nrw/commons/nearby/NearbyMapFragment.java
@@ -677,7 +677,10 @@ private void addNearbyMarkersToMapBoxMap(@Nullable List<NearbyBaseMarker> custom
677
passInfoToSheet(place);
678
bottomSheetListBehavior.setState(BottomSheetBehavior.STATE_HIDDEN);
679
bottomSheetDetailsBehavior.setState(BottomSheetBehavior.STATE_COLLAPSED);
680
-
+ CameraPosition position = new CameraPosition.Builder()
681
+ .target(marker.getPosition())
682
+ .build();
683
+ mapboxMap.animateCamera(CameraUpdateFactory.newCameraPosition(position));
684
}
685
return false;
686
});
0 commit comments