Skip to content

Commit

Permalink
chore: fix Street View location in README
Browse files Browse the repository at this point in the history
The example given crashes (googlemaps#265). Changed location to match BasicMapActivity.kt, which works.
  • Loading branch information
lawm committed Jul 22, 2023
1 parent 2a26049 commit 395b463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ You can add a Street View given a location using the `StreetView` composable.
To use it, provide a `StreetViewPanoramaOptions` object as follows:

```kotlin
val singapore = LatLng(1.35, 103.87)
val singapore = LatLng(1.3588227, 103.8742114)
StreetView(
streetViewPanoramaOptionsFactory = {
StreetViewPanoramaOptions().position(singapore)
Expand Down

0 comments on commit 395b463

Please sign in to comment.