mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Fix improper zooming level on bottom sheet is expanded
This commit is contained in:
parent
41e11b7f20
commit
0d40ebc4eb
1 changed files with 1 additions and 1 deletions
|
|
@ -270,7 +270,7 @@ public class NearbyMapFragment extends DaggerFragment {
|
||||||
.target(new LatLng(curLatLng.getLatitude() - CAMERA_TARGET_SHIFT_FACTOR,
|
.target(new LatLng(curLatLng.getLatitude() - CAMERA_TARGET_SHIFT_FACTOR,
|
||||||
curLatLng.getLongitude())) // Sets the new camera target above
|
curLatLng.getLongitude())) // Sets the new camera target above
|
||||||
// current to make it visible when sheet is expanded
|
// current to make it visible when sheet is expanded
|
||||||
.zoom(mapboxMap.getCameraPosition().zoom) // Same zoom level
|
.zoom(11) // Same zoom level
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue