requiredZoomLevel

fun BoundingBox.requiredZoomLevel(): Double

Calculates the zoom level required to fit the entire BoundingBox inside the map view.

Return

The zoom level as a Double value.