From 5a2b75b7fea14be939ca3b98fde797c190f649e2 Mon Sep 17 00:00:00 2001 From: Angela Yu <5506675+wangela@users.noreply.github.com> Date: Sat, 21 Oct 2023 13:36:41 -0700 Subject: [PATCH] chore: refine street view README --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 2c31bc70..2109f442 100644 --- a/README.md +++ b/README.md @@ -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). @@ -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)