MapValidityListener

interface MapValidityListener

Functions

Link copied to clipboard
abstract fun onMapInvalidated()

Called when the map is invalidated after its surface has been destroyed. This can happen without MapFragment being destroyed, eg. when putting app to background with home button. Any calls to MapView after this will be ignored.

Link copied to clipboard
abstract fun onMapValid()

Called after recreating map surface. After this, MapView is valid again.