onMapDestroyed

open fun onMapDestroyed()

Map was destroyed as a result of view lifecycle If the view was destroyed (e.g. view's lifecycle owner was destroyed), it's necessary to recreate and init the new instance of the view. This is standard android view behaviour, usually implemented in Activity.onCreate or Fragment.onCreateView If the view was only paused/stopped (e.g. view's lifecycle owner was paused/stopped), map rendering will automatically resume as soon as the view lifecycle owner is resumed.