-
public final class StreetViewKt
-
-
Method Summary
Modifier and Type Method Description final static UnitStreetView(Modifier modifier, StreetViewCameraPositionState cameraPositionState, Function0<StreetViewPanoramaOptions> streetViewPanoramaOptionsFactory, Boolean isPanningGesturesEnabled, Boolean isStreetNamesEnabled, Boolean isUserNavigationEnabled, Boolean isZoomGesturesEnabled, Function1<StreetViewPanoramaOrientation, Unit> onClick, Function1<StreetViewPanoramaOrientation, Unit> onLongClick)A composable for displaying a Street View for a given location. -
-
Method Detail
-
StreetView
@Composable() final static Unit StreetView(Modifier modifier, StreetViewCameraPositionState cameraPositionState, Function0<StreetViewPanoramaOptions> streetViewPanoramaOptionsFactory, Boolean isPanningGesturesEnabled, Boolean isStreetNamesEnabled, Boolean isUserNavigationEnabled, Boolean isZoomGesturesEnabled, Function1<StreetViewPanoramaOrientation, Unit> onClick, Function1<StreetViewPanoramaOrientation, Unit> onLongClick)
A composable for displaying a Street View for a given location.
- Parameters:
modifier- Modifier to be applied to the StreetViewcameraPositionState- the StreetViewCameraPositionState to be used to control or observe the Street View's camerastreetViewPanoramaOptionsFactory- a factory lambda for providing a StreetViewPanoramaOptions object which is used when the underlying StreetViewPanoramaView is constructedisPanningGesturesEnabled- whether panning gestures are enabled or notisStreetNamesEnabled- whether street names are enabled or notisUserNavigationEnabled- whether user navigation is enabled or notisZoomGesturesEnabled- whether zoom gestures are enabled or notonClick- lambda to receive events when the Street View is clickedonLongClick- lambda to receive events when the Street View is long clicked
-
-
-
-