-
public final class GoogleMapKt
-
-
Method Summary
Modifier and Type Method Description final static UnitGoogleMap(Modifier modifier, CameraPositionState cameraPositionState, String contentDescription, Function0<GoogleMapOptions> googleMapOptionsFactory, MapProperties properties, LocationSource locationSource, MapUiSettings uiSettings, IndoorStateChangeListener indoorStateChangeListener, Function1<LatLng, Unit> onMapClick, Function1<LatLng, Unit> onMapLongClick, Function0<Unit> onMapLoaded, Function0<Boolean> onMyLocationButtonClick, Function1<Location, Unit> onMyLocationClick, Function1<PointOfInterest, Unit> onPOIClick, PaddingValues contentPadding, Function0<Unit> content)A compose container for a MapView. -
-
Method Detail
-
GoogleMap
@Composable() final static Unit GoogleMap(Modifier modifier, CameraPositionState cameraPositionState, String contentDescription, Function0<GoogleMapOptions> googleMapOptionsFactory, MapProperties properties, LocationSource locationSource, MapUiSettings uiSettings, IndoorStateChangeListener indoorStateChangeListener, Function1<LatLng, Unit> onMapClick, Function1<LatLng, Unit> onMapLongClick, Function0<Unit> onMapLoaded, Function0<Boolean> onMyLocationButtonClick, Function1<Location, Unit> onMyLocationClick, Function1<PointOfInterest, Unit> onPOIClick, PaddingValues contentPadding, Function0<Unit> content)
A compose container for a MapView.
- Parameters:
modifier- Modifier to be applied to the GoogleMapcameraPositionState- the CameraPositionState to be used to control or observe the map's camera statecontentDescription- the content description for the map used by accessibility services to describe the map.googleMapOptionsFactory- the block for creating the GoogleMapOptions provided when the map is createdproperties- the properties for the maplocationSource- the LocationSource to be used to provide location datauiSettings- the MapUiSettings to be used for UI-specific settings on the mapindoorStateChangeListener- listener for indoor building state changesonMapClick- lambda invoked when the map is clickedonMapLoaded- lambda invoked when the map is finished loadingonMyLocationButtonClick- lambda invoked when the my location button is clickedonMyLocationClick- lambda invoked when the my location dot is clickedonPOIClick- lambda invoked when a POI is clickedcontent- the content of the map
-
-
-
-