fixCameraToFloor

open fun fixCameraToFloor(floor: BaseMapBuildingFloor, constraintedToSize: SizeF, zoomOffset: Float, skipRotation: Boolean)

Fixes the map camera to the given floor

Parameters

floor

the floor

constraintedToSize

the dimensions to fit the map within

zoomOffset

additional zoom padding

skipRotation

if true, auto-rotates the map back to its default rotation