awaitMap

inline suspend fun MapFragment.awaitMap(): GoogleMap

A suspending function that provides an instance of a GoogleMap from this MapFragment. This is an alternative to MapFragment.getMapAsync by using coroutines to obtain a GoogleMap.

Return

the GoogleMap instance


inline suspend fun MapView.awaitMap(): GoogleMap

A suspending function that provides an instance of GoogleMap from this MapView. This is an alternative to MapView.getMapAsync by using coroutines to obtain the GoogleMap.

Return

the GoogleMap instance


inline suspend fun SupportMapFragment.awaitMap(): GoogleMap

A suspending function that provides an instance of a GoogleMap from this SupportMapFragment. This is an alternative to using SupportMapFragment.getMapAsync by using coroutines to obtain a GoogleMap.

Return

the GoogleMap instance