onStop

open override fun onStop()

This handles the 'onStop' lifecycle event. It is called when the parent component is no longer visible to the user. This ensures the internal map view components stop all active processes to conserve resources.