Skip to content

Commit

Permalink
chore: fix Street View location in README (#346) (#345)
Browse files Browse the repository at this point in the history
The example given crashes. Changed location to match BasicMapActivity.kt, which works.
  • Loading branch information
lawm authored Jul 28, 2023
1 parent 17822fa commit e46fdf2
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 e46fdf2

Please sign in to comment.