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

setCurrentBounds

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

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

Parameters

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.

Parameters

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