@DeprecatedSince(2020, 5) abstract fun setCurrentBounds(@NonNull topLeft: LatLng, @NonNull bottomRight: LatLng): Unit
Sets current region as the minimum region which contains both coordinates.
topLeft
- LatLng: The top left corner of preferred region.
bottomRight
- LatLng: The bottom right corner of preferred region.
abstract fun setCurrentBounds(@NonNull coordinates: MutableList<LatLng!>): Unit
Sets current region as the minimum region which contains the provided coordinates.
coordinates
- MutableList<LatLng!>: The coordinates to set bounds for.