Skip to content

Commit

Permalink
Fix padding issue on android
Browse files Browse the repository at this point in the history
  • Loading branch information
mfazekas committed Jun 30, 2020
1 parent 5e94d98 commit 74a1ad8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ public CameraUpdateItem toCameraUpdate(MapboxMap map) {
if (boundsCamera != null) {
builder.target(boundsCamera.target);
builder.zoom(boundsCamera.zoom);
builder.padding(boundsCamera.padding);
} else {
CameraUpdate update = CameraUpdateFactory.newLatLngBounds(mBounds, paddingLeft,
paddingTop, paddingRight, paddingBottom);
Expand Down

0 comments on commit 74a1ad8

Please sign in to comment.