Repository navigation
Comparing changes
Open a pull request
base repository: googlemaps/android-maps-compose
base: 208da46
head repository: googlemaps/android-maps-compose
compare: 934370f
- 6 commits
- 23 files changed
- 3 contributors
Commits on Jul 7, 2026
-
fix: prevent ComposeUiClusterRenderer crash on fast back gesture with…
… compose-ui 1.10+ (#930) Addresses issue #875: IllegalStateException "Composed into the View which doesn't propagate ViewTreeLifecycleOwner!" when navigating back while DefaultClusterRenderer's MarkerModifier handler is still processing. - Add scope.isActive guards in getDescriptorForCluster and onBeforeClusterItemRendered so that after the Compose scope is cancelled (e.g. on back navigation), render callbacks fall through to the default super implementation instead of attempting to create new ComposeViews with a disposed CompositionContext. - Set ViewTreeSavedStateRegistryOwner alongside ViewTreeLifecycleOwner on off-screen views for full compose-ui 1.10+ compatibility. Co-authored-by: Dale Hawkins <107309+dkhawk@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3882afa - Browse repository at this point
Copy the full SHA 3882afaView commit details
Commits on Jul 10, 2026
-
fix: keep ComposeView attached while info window is shown for compose…
…-ui 1.10+ compat (#931) Addresses issue #913: MarkerInfoWindowContent renders empty with compose-bom 2026.04.01+ (compose-ui 1.10.0+). compose-ui 1.10.0 added an isShown guard to AbstractComposeView.draw(), which makes detached views draw nothing. The previous implementation immediately detached the ComposeView via renderComposeViewOnce, so by the time the Maps SDK called draw() the view was detached and isShown == false. Fix: use startRenderingComposeView (keeps view attached) instead of renderComposeViewOnce, storing the RenderHandle per marker. The view stays attached to the MapView's NoDrawContainerView while the info window is visible, so isShown == true when the Maps SDK renders it. The RenderHandle is disposed when the info window closes via a new disposeForMarker() call wired into the existing onInfoWindowClose listener in MapApplier. Co-authored-by: Dale Hawkins <107309+dkhawk@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 995ff38 - Browse repository at this point
Copy the full SHA 995ff38View commit details -
feat: add rotation support to cluster item API (#943)
* feat: add rotation support to cluster item API Add rotation parameter to ClusteringMarkerProperties and Clustering functions, allowing per-item and default rotation customization for both cluster and cluster item markers. This follows the same pattern as the existing anchor and zIndex support added in v8.1.0. Closes #942 * cleanup: remove FQN from LaunchedEffect and CompositionLocalProvider * feat(maps-compose-utils): make cluster rotation and properties reactive in ComposeUiClusterRenderer - Add snapshotFlow observer in ComposeUiClusterRenderer to dynamically update active Marker rotation, anchor, and zIndex across parent recompositions. - Override invalidate in InvalidatingComposeView to ensure ClusteringMarkerProperties updates trigger re-rendering. - Add MarkerClusteringRotationActivity sample demonstrating top-level vs property rotation with dead-center Offset(0.5f, 0.5f) anchoring. - Add GoogleMapViewClusteringTests instrumentation test suite. * chore(maps-compose-utils): apply code review improvements to ComposeUiClusterRenderer (#943) - Inspect child properties in onBeforeClusterRendered and onBeforeClusterItemRendered to set anchor, zIndex, and rotation upon initial marker creation. - Replace linear ViewKey scans in keysToViews with direct O(1) hash map lookups. - Change ViewInfo.view type to InvalidatingComposeView for type safety. - Import snapshotFlow directly to clean up fully-qualified names in init block. TAG=agy CONV=8ec3e54a-53d3-485c-b062-b6f1a534729e --------- Co-authored-by: Dale Hawkins <107309+dkhawk@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3430231 - Browse repository at this point
Copy the full SHA 3430231View commit details
Commits on Jul 14, 2026
-
feat: allow GoogleMap to opt out of keyboard focus traversal (#945)
* feat: allow GoogleMap to opt out of keyboard focus traversal Adds a focusable parameter to GoogleMap (default true, preserving the single-tab-stop behavior introduced in #935). When false, the map and its internal controls are removed from keyboard focus traversal, e.g. for maps used as decorative backgrounds behind other focusable content. Fixes #938 * test: don't wait for map load in focus traversal test Focus traversal only requires the composed view hierarchy, not loaded map tiles; waiting on onMapLoaded made the test flaky on CI emulators. Wait for the map's semantics node instead, matching the existing traversal test. * test: use focusable boxes instead of Buttons in traversal test Material Buttons are clickable-based and only accept focus in keyboard mode; requestFocus on them fails in the touch-mode test environment. Plain Modifier.focusable() elements accept focus in both modes, same as the map itself.
Configuration menu - View commit details
-
Copy full SHA for 7049991 - Browse repository at this point
Copy the full SHA 7049991View commit details
Commits on Jul 16, 2026
-
fix(deps): update dependencies across android-maps-compose
* build(deps): update dependencies across android-maps-compose Updated dependencies: - kotlin / kotlin-stdlib: 2.3.21 -> 2.4.0 - kotlinx-coroutines-*: 1.10.2 -> 1.11.0 - androidx.compose:compose-bom: 2026.03.00 -> 2026.06.01 - androidx.core:core-ktx: 1.18.0 -> 1.19.0 - com.google.maps.android:maps-*ktx: 6.0.1 -> 6.1.0 - io.mockk:mockk*: 1.14.9 -> 1.14.11 - org.jacoco:org.jacoco.core: 0.8.14 -> 0.8.15 Note: Upgraded JVM target across all modules from 1.8 to 11 to align with modern Compose BOM 2026.06.01 and maps-ktx 6.1.0 bytecode compatibility. * fix(deps): update maps-ktx to 6.2.0 and library dependencies * fix(deps): bump kotlin to 2.4.10
Configuration menu - View commit details
-
Copy full SHA for d4064c7 - Browse repository at this point
Copy the full SHA d4064c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 934370f - Browse repository at this point
Copy the full SHA 934370fView 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 208da46...934370f