Package com.google.maps.android
Class MapFragmentKt
-
- All Implemented Interfaces:
public final class MapFragmentKt
-
-
Method Summary
Modifier and Type Method Description final static GoogleMapawaitMap(MapFragment $self)A suspending function that provides an instance of a GoogleMap from this MapFragment. -
-
Method Detail
-
awaitMap
final static GoogleMap awaitMap(MapFragment $self)
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.
- Returns:
the GoogleMap instance
-
-
-
-