Skip to content

Commit

Permalink
chore: refine street view README
Browse files Browse the repository at this point in the history
  • Loading branch information
wangela committed Oct 21, 2023
1 parent 2f445a4 commit 5a2b75b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ MarkerInfoWindow(
### Street View

You can add a Street View given a location using the `StreetView` composable.
To use it, provide a `StreetViewPanoramaOptions` object as follows:

1. Test whether a Street View location is valid with the the
`fetchStreetViewData` utility from the [`maps-compose-utils` library](#maps-compose-utility-library).
Expand All @@ -241,7 +240,7 @@ To use it, provide a `StreetViewPanoramaOptions` object as follows:
fetchStreetViewData(singapore, BuildConfig.MAPS_API_KEY)
```

2. Once the location is confirmed valid, add a Street View composable.
2. Once the location is confirmed valid, add a Street View composable by providing a `StreetViewPanoramaOptions` object.

```kotlin
val singapore = LatLng(1.3588227, 103.8742114)
Expand Down

0 comments on commit 5a2b75b

Please sign in to comment.