react-native-google-maps-plus - v1.12.1
    Preparing search index...

    Interface RNGoogleMapsPlusStreetViewMethods

    Imperative Street View methods.

    interface RNGoogleMapsPlusStreetViewMethods {
        isGooglePlayServicesAvailable(): boolean;
        openLocationSettings(): void;
        requestLocationPermission(): Promise<RNLocationPermissionResult>;
        setCamera(
            camera: RNStreetViewCamera,
            animated?: boolean,
            durationMs?: number,
        ): void;
        setPosition(
            position: RNLatLng,
            radius?: number,
            source?: RNStreetViewSource,
        ): void;
        setPositionById(panoramaId: string): void;
        showLocationDialog(): void;
    }

    Hierarchy

    • HybridViewMethods
      • RNGoogleMapsPlusStreetViewMethods
    Index

    Methods

    • Checks Google Play Services availability. iOS: always returns false. Android: performs a real system check.

      Returns boolean

      true if Google Play Services are available, otherwise false.

    • Sets the Street View camera orientation.

      Parameters

      • camera: RNStreetViewCamera

        Target bearing, tilt, and zoom.

      • Optionalanimated: boolean

        Whether to animate.

      • OptionaldurationMs: number

        Animation duration in milliseconds.

      Returns void

      false

      3000

    • Navigates to a panorama near the given position. Use this for post initialization navigation with full control over the search.

      Parameters

      • position: RNLatLng

        Target coordinate used to search for a Street View panorama. See RNLatLng.

      • Optionalradius: number

        Search radius in meters.

      • Optionalsource: RNStreetViewSource

        Panorama source filter.

      Returns void

      50

      'default'