Repository navigation
Comparing changes
Open a pull request
base repository: googlemaps/android-maps-compose
base: v8.5.0
head repository: googlemaps/android-maps-compose
compare: v8.6.0
- 11 commits
- 19 files changed
- 6 contributors
Commits on Aug 21, 2026
-
docs: add guidelines for AI-assisted contributions (#973)
Add AI-assisted contribution guidelines to CONTRIBUTING.md outlining expectations for ownership, quality standards (idiomatic Kotlin and Android architectural standards), CLA compliance, authorship rules, and prohibiting unsolicited automated pull requests and mass issues.
Configuration menu - View commit details
-
Copy full SHA for b6de522 - Browse repository at this point
Copy the full SHA b6de522View commit details -
fix(maps-compose): apply mapColorScheme to GoogleMapOptions during Ma…
…pView creation (#976) GoogleMap() currently only applies mapColorScheme via map.setMapColorScheme() after getMapAsync() completes. However, the Maps SDK's terrain renderer only respects FOLLOW_SYSTEM/DARK when it is present in GoogleMapOptions at MapView creation time; calling setMapColorScheme() later on an already-initialized terrain map with custom MapStyleOptions fails to trigger dark terrain shaders. This change updates AndroidView's factory in GoogleMap.kt to automatically populate GoogleMapOptions.mapColorScheme from the mapColorScheme parameter if it has not been explicitly configured in googleMapOptionsFactory (where 0 / MapColorScheme.LIGHT is the Java int default). Also fixes GoogleMapViewTests.kt to replace vacuous tests (which asserted against a test-local variable) with real assertions against the GoogleMapOptions passed to mapViewFactory, and adds a test verifying that an explicitly configured googleMapOptionsFactory is not overwritten. Verified via ./gradlew :maps-compose:compileDebugKotlin and test suite.
Configuration menu - View commit details
-
Copy full SHA for 7dec2b7 - Browse repository at this point
Copy the full SHA 7dec2b7View commit details
Commits on Aug 24, 2026
-
chore(deps): bump mapsktx from 6.2.0 to 6.3.0 (#968)
Bumps `mapsktx` from 6.2.0 to 6.3.0. Updates `com.google.maps.android:maps-ktx` from 6.2.0 to 6.3.0 - [Release notes](https://github.com/googlemaps/android-maps-ktx/releases) - [Changelog](https://github.com/googlemaps/android-maps-ktx/blob/main/CHANGELOG.md) - [Commits](googlemaps/android-maps-ktx@v6.2.0...v6.3.0) Updates `com.google.maps.android:maps-utils-ktx` from 6.2.0 to 6.3.0 - [Release notes](https://github.com/googlemaps/android-maps-ktx/releases) - [Changelog](https://github.com/googlemaps/android-maps-ktx/blob/main/CHANGELOG.md) - [Commits](googlemaps/android-maps-ktx@v6.2.0...v6.3.0) --- updated-dependencies: - dependency-name: com.google.maps.android:maps-ktx dependency-version: 6.3.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: com.google.maps.android:maps-utils-ktx dependency-version: 6.3.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dale Hawkins <107309+dkhawk@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 56b1e0a - Browse repository at this point
Copy the full SHA 56b1e0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a455ce3 - Browse repository at this point
Copy the full SHA a455ce3View commit details
Commits on Aug 25, 2026
-
feat: expose map zoom limits (#949)
Co-authored-by: Dale Hawkins <107309+dkhawk@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for e0d4572 - Browse repository at this point
Copy the full SHA e0d4572View commit details -
fix: guard against null in StreetView panorama change listeners (#970)
The OnStreetViewPanoramaChangeListener and OnStreetViewPanoramaCameraChangeListener Java interfaces do not annotate their parameters as @nonnull. The GMS dynamite module (policy_maps_core_dynamite) can deliver null to these listeners on certain devices and Play Services versions. The Kotlin compiler inserts an implicit null-check intrinsic at lambda entry which throws a NullPointerException before the assignment is reached, crashing the app. Fixes the crash by guarding both assignments with a null-safe let block.
Configuration menu - View commit details
-
Copy full SHA for 6147f75 - Browse repository at this point
Copy the full SHA 6147f75View commit details
Commits on Aug 26, 2026
-
ci: avoid flaky wait on transient isMoving in non-animated zoom tests (…
…#982) * fix: avoid flaky wait on transient isMoving in non-animated zoom tests moveCamera() completes synchronously, so onCameraMoveStarted and onCameraIdle can both fire before Compose observes the intermediate isMoving = true state, causing waitUntil(timeout2) { isMoving } to time out intermittently. testCameraZoomIn/testCameraZoomOut now only wait for the move to settle before asserting the final zoom. * test(maps-app): fix non-animated camera zoom test synchronization --------- Co-authored-by: Dale Hawkins <107309+dkhawk@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 86d2435 - Browse repository at this point
Copy the full SHA 86d2435View commit details -
fix: pin ViewTreeLifecycleOwner/SavedStateRegistryOwner on MapView to…
… prevent info window crash (#972) * fix: pin ViewTreeLifecycleOwner/SavedStateRegistryOwner on MapView to prevent info window crash On compose-ui 1.11+, MarkerInfoWindow/MarkerInfoWindowContent can crash with "Composed into the View which doesn't propagate ViewTreeLifecycleOwner!" when the Maps SDK measures the info window's ComposeView from its own Handler after Compose has already unparented the MapView (e.g. LazyColumn recycling/detach). The ViewTreeLifecycleOwner/ViewTreeSavedStateRegistryOwner tags live on the AndroidView holder that is the MapView's parent, so once that parent link is severed the info window's ComposeView can no longer resolve an owner and AbstractComposeView.onMeasure throws (fatal starting with compose-ui 1.11, where owner resolution moved into onMeasure). Pin both owners directly onto the MapView itself so they stay resolvable from its own subtree regardless of where Compose has parented it. Fixes #971 * fix: don't crash rendering an info window for a MapView mid-teardown The pin added in the previous commit stops the Maps SDK's async info-window render from throwing "Composed into the View which doesn't propagate ViewTreeLifecycleOwner!" once Compose has unparented the MapView. But on this codebase's bitmap-based info window rendering (#953), that same detached-render path now hits a different crash: renderComposableToBitmap's own check() rejects the zero-size measurement that naturally results from compositing a ComposeView that never got a real window attachment. A MapView that's mid-teardown has nothing worth rendering anyway, so treat that specific case (zero-size AND not attached to window) as "nothing to show" instead of a hard failure: renderComposableToBitmap now returns null, and ComposeInfoWindowAdapter propagates that through to the Maps SDK's already-nullable getInfoContents()/getInfoWindow(). Zero-size content on an attached MapView still throws with the original message, since that is a genuine content-authoring bug rather than a teardown race. Verified on a physical device (Pixel 4, Android 13, GMS 26.32.62, phoenix renderer) using the exact LazyColumn-recycling repro from #971: crashes within the first ~20 cycles without both fixes, survives 420+ cycles (60s, process alive throughout) with both applied. --------- Co-authored-by: Dale Hawkins <107309+dkhawk@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 4024515 - Browse repository at this point
Copy the full SHA 4024515View commit details
Commits on Sep 1, 2026
-
feat(maps-compose): default mapColorScheme to FOLLOW_SYSTEM in Google…
…Map (#986) Default `GoogleMap`'s `mapColorScheme` parameter to `ComposeMapColorScheme.FOLLOW_SYSTEM` instead of `null`. Previously, `mapColorScheme` defaulted to `null`, which resulted in `GoogleMapOptions` retaining the unconfigured Java int default of `0` (`MapColorScheme.LIGHT`) and left `map.mapColorScheme` unset in `MapUpdater`. This forced maps created without an explicit `mapColorScheme` parameter into light mode on dark-themed devices. Defaulting to `FOLLOW_SYSTEM` ensures `GoogleMap` automatically adheres to the system theme out of the box, aligning with Compose and Android conventions. Includes regression tests in `GoogleMapViewTests.kt` validating that default `GoogleMap` invocations and factory configurations receive `MapColorScheme.FOLLOW_SYSTEM`.
Configuration menu - View commit details
-
Copy full SHA for 5f1d438 - Browse repository at this point
Copy the full SHA 5f1d438View commit details
Commits on Sep 3, 2026
-
build(deps): update dependencies, maps-ktx 6.4.1, compose-bom 2026.08…
….00, and retain Java 11 (#957) * fix(deps): update maps-ktx to 6.3.0 and project dependencies - Update maps-ktx and maps-utils-ktx to 6.3.0 - Add mavenLocal() repository to dependencyResolutionManagement - Update AGP to 9.3.1 and Gradle wrapper to 9.6.1 - Update com.vanniktech.maven.publish to 0.37.0 - Update constraintlayout to 2.2.2 and material to 1.14.0 - Upgrade Java / Kotlin target versioning to Java 17 across all modules - Update JaCoCo configuration and paths in PublishingConventionPlugin * build(deps): upgrade android-maps-utils to 5.2.0, AGP to 9.4.0, and Gradle to 9.7.1 - Add explicit android-maps-utils 5.2.0 dependency to maps-compose-utils - Upgrade AGP from 9.3.1 to 9.4.0 - Upgrade Gradle wrapper from 9.6.1 to 9.7.1 * test(clustering): call getMarkers() on MarkerManager.Collection In android-maps-utils 5.2.0, MarkerManager was migrated from Java to Kotlin, where getMarkers() is declared as a function rather than a synthetic property. * build: retain JVM target at Java 11 across all modules Keep Java 11 compatibility across library and app modules to maintain backward compatibility for apps targeting Java 11. * build(deps): update dependencies, dokka, and compose-bom - Upgrade mapsktx to 6.4.1 (Java 11 compatibility release) - Upgrade compose-bom to 2026.08.00 - Upgrade dokka to 2.2.0 and dependency-analysis to 3.19.1 - Add ben-manes versions plugin 0.61.0 for dependency updates tracking * build(deps): remove redundant maps-utils dependency android-maps-utils 5.2.0 is already exposed transitively via api(libs.maps.ktx.utils).
Configuration menu - View commit details
-
Copy full SHA for a2c8871 - Browse repository at this point
Copy the full SHA a2c8871View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d3091a - Browse repository at this point
Copy the full SHA 5d3091aView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v8.5.0...v8.6.0