onRestoreInstanceState

open fun onRestoreInstanceState(savedInstanceState: Bundle)

Used to restore the bottomsheet state and re-centerbutton visibility. As well as the MapView position prior to a configuration change.

Parameters

savedInstanceState

to extract state variables