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