Skip to main content

Interface: RNGoogleMapsPlusStreetViewProps

Native Google Maps Street View props.

Extends​

  • HybridViewProps

Properties​

PropertyTypeDescription
locationConfig?RNLocationConfigLocation subsystem config. See RNLocationConfig.
onCameraChange?(camera) => voidCamera orientation changed. Fires continuously while the user rotates or tilts the view.
onLocationError?(error) => voidLocation subsystem error. Reports an error once while it persists. Requires location updates, see RNLocationConfig.
onLocationStatusChange?(status) => voidLocation permission or device location settings changed. Reports the status when location updates start, then every change while the view is active. Changes made in background are reported on return. Without location permission the device location switch is only reported when location updates start. The same status can be reported more than once. Requires location updates, see RNLocationConfig.
onLocationUpdate?(location) => voidLocation update. Requires location updates, see RNLocationConfig.
onPanoramaChange?(location) => voidUser or programmatic navigation moved to a new panorama. Provides full location info including panoramaId and adjacent links.
onPanoramaError?(error, msg) => voidNative error. See RNMapErrorCode.
onPanoramaPress?(orientation) => voidTap on the panorama. Orientation indicates where on the sphere the user tapped.
onPanoramaReady?(ready) => voidPanorama is initialized and ready to use. Android: false if the Maps SDK could not be initialized, e.g. Play Services missing or outdated. Fires again with true once the user has resolved it.
panoramaOptions?RNPanoramaOptionsInitial panorama configuration. Applied once at mount time. See RNPanoramaOptions.
uiSettings?RNStreetViewUiSettingsUI and gesture settings. See RNStreetViewUiSettings.