Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@ android-maps-utils = { group = "com.google.maps.android", name = "android-maps-u
```
This aggregator dynamically and transitively pulls all individual submodules. Alternatively, you can choose to import only the specific submodules your app requires (e.g., `android-maps-utils-core` and `android-maps-utils-clustering`).

> [!IMPORTANT]
> **Google Navigation SDK Compatibility**: If your project integrates the Google Navigation SDK for Android, add an exclusion for `play-services-maps` to prevent duplicate class conflicts:
> ```kotlin
> configurations.all {
> if (name.contains("navigation", ignoreCase = true)) {
> exclude(group = "com.google.android.gms", module = "play-services-maps")
> }
> }
> ```

---

## 2. Kotlin Property Syntax Overrides (Breaking Changes for Kotlin Callers)
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,18 @@ dependencies {
}
```

### Compatibility with Google Navigation SDK for Android

If your project integrates the [Google Navigation SDK for Android](https://developers.google.com/maps/documentation/navigation/android-sdk), you must exclude the transitive `play-services-maps` dependency to prevent duplicate class conflicts:

```kotlin
configurations.all {
if (name.contains("navigation", ignoreCase = true)) {
exclude(group = "com.google.android.gms", module = "play-services-maps")
}
}
```

## Sample App

<img src="https://developers.google.com/maps/documentation/android-sdk/images/utility-markercluster.png" width="150" align=right>
Expand Down