sdk-maps / com.tomtom.online.sdk.map / MapManipulationExtension / setCurrentBounds

setCurrentBounds

@DeprecatedSince("2020.05") abstract fun setCurrentBounds(@NonNull topLeft: LatLng, @NonNull bottomRight: LatLng): Unit
Deprecated: Deprecated in Java

Sets the current region as the minimum region which contains both coordinates.

Parameters

topLeft - LatLng: The top-left corner of the preferred region.

bottomRight - LatLng: The bottom-right corner of the preferred region.

abstract fun setCurrentBounds(@NonNull coordinates: MutableList<LatLng!>): Unit

Sets the current region as the minimum region which contains the provided coordinates.

Parameters

coordinates - MutableList<LatLng!>: The coordinates to set bounds for.