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

getZoomLevelForBounds

abstract fun getZoomLevelForBounds(@NonNull topLeft: LatLng, @NonNull bottomRight: LatLng): Double

Gets zoom for 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.