[android] latlngbounds includes added in builder
Fixes #5574 added includes test
This commit is contained in:
committed by
Tobrun Van Nuland
parent
fd5ee40506
commit
765e8d2be1
@@ -290,6 +290,13 @@ public class LatLngBounds implements Parcelable {
|
||||
return LatLngBounds.fromLatLngs(mLatLngList);
|
||||
}
|
||||
|
||||
public Builder includes(List<LatLng> latLngs){
|
||||
for (LatLng point : latLngs) {
|
||||
mLatLngList.add(point);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder include(@NonNull LatLng latLng) {
|
||||
mLatLngList.add(latLng);
|
||||
return this;
|
||||
|
||||
Reference in New Issue
Block a user