Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,4 @@ Nissim Dsilva <[email protected]>
Giancarlo Rocha <[email protected]>
Ryo Miyake <[email protected]>
Théo Champion <[email protected]>
Everton Santos <[email protected]>
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,10 @@ private static LatLngBounds toLatLngBounds(Object o) {
return null;
}
final List<?> data = toList(o);
return new LatLngBounds(toLatLng(data.get(0)), toLatLng(data.get(1)));
return LatLngBounds.builder()
.include(toLatLng(data.get(0)))
.include(toLatLng(data.get(1)))
.build();
}

private static List<?> toList(Object o) {
Expand Down