You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-22Lines changed: 4 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,21 +42,15 @@ dependencies {
42
42
43
43
## Sample App
44
44
45
-
Currently, there are two sample apps in the repository: [maps-app](maps-app) and [navigation-app](navigation-app). Each of them run a different version of the Android Maps Compose SDK, where either the maps or the navigation SDK are run, respectively.
45
+
This repository includes a [sample app](maps-app).
46
46
47
-
To run the maps demo app, ensure you've met the requirements above then:
47
+
To run the demo app, ensure you've met the requirements above then:
48
48
49
49
1. Open the `secrets.properties` file in your top-level directory, and then add the following code. Replace YOUR_API_KEY with your API key. Store your key in this file because secrets.properties is excluded from being checked into a version control system.
50
50
If the `secrets.properties` file does not exist, create it in the same folder as the `local.default.properties` file.
51
51
```
52
52
MAPS_API_KEY=YOUR_API_KEY
53
53
```
54
-
55
-
If you want to use also the Navigation SDK, make sure the PLACES_API_KEY also contains an entry.
56
-
```
57
-
PLACES_API_KEY=DEFAULT_API_KEY
58
-
```
59
-
60
54
1. Build and run
61
55
62
56
## Documentation
@@ -397,18 +391,6 @@ GoogleMap(
397
391
}
398
392
```
399
393
400
-
## Using the Navigation SDK
401
-
402
-
In order to use the Navigation SDK, make sure to include the Composable `NavigationScreen` as follows:
403
-
404
-
```kotlin
405
-
NavigationScreen(
406
-
modifier =Modifier.padding(innerPadding),
407
-
deviceLocation = location
408
-
)
409
-
```
410
-
411
-
412
394
</details>
413
395
414
396
## Maps Compose Utility Library
@@ -444,7 +426,7 @@ The `fetchStreetViewData` method provides functionality to check whether a locat
444
426
> Be sure to [enable Street View Static API](https://goo.gle/enable-sv-static-api) on the project associated with your API key.
445
427
446
428
You can see example usage
447
-
in the [`StreetViewActivity`](maps-app/src/main/java/com/google/maps/android/compose/StreetViewActivity.kt) of the demo app:
429
+
in the [`StreetViewActivity`](https://github.com/googlemaps/android-maps-compose/blob/main/maps-app/src/main/java/com/google/maps/android/compose/StreetViewActivity.kt) of the demo app:
448
430
449
431
```kotlin
450
432
streetViewResult =
@@ -507,7 +489,7 @@ This library is not a Google Maps Platform Core Service. Therefore, the Google M
507
489
508
490
## Support
509
491
510
-
This library is offered via an open source [license]. It is not governed by the Google Maps Platform Support [Technical Support Services Guidelines], the [SLA], or the [Deprecation Policy]. However, any Google Maps Platform services used by the library remain subject to the Google Maps Platform Terms of Service.
492
+
This library is offered via an open source [license]. It is not governed by the Google Maps Platform Support [Technical Support Services Guidelines, the SLA, or the [Deprecation Policy]. However, any Google Maps Platform services used by the library remain subject to the Google Maps Platform Terms of Service.
511
493
512
494
This library adheres to [semantic versioning] to indicate when backwards-incompatible changes are introduced. Accordingly, while the library is in version 0.x, backwards-incompatible changes may be introduced at any time.
0 commit comments