open fun onDestroy(): Unit
You must call this method from the parent Activity/Fragment's corresponding method. When map is going to be recreated (e.g. onSaveInstanceState was called), there will be no action executed. Otherwise, the native part will be removed and map state will be removed.