StreetViewService component provides access to the Google Street View service, allowing you to check for Street View availability and retrieve panorama data at specific locations.
Import
Usage
Props
Callback invoked when the Street View service instance has been created. Use this to get a reference to the service for making queries.Parameters:
streetViewService: The Street View service instance
Callback invoked when the component unmounts.Parameters:
streetViewService: The Street View service instance
Service Methods
Once you have a reference to the service viaonLoad, you can use these methods: