Skip to content

MarkerInfoWindow: info window doesn't show up with Compose BOM version > 2026.03.01 #946

Description

@dbaroncelli

On the latest Compose BOM versions, the info window doesn't show when clicking on a MarkerInfoWindow.

The latest Compose BOM version where it still works is 2026.03.01
In all subsequent Compose BOM versions, the info window doesn't show up when clicking on the marker.

Environment details

Compose BOM version: 2026.06.01 (or anything after 2026.03.01)
com.google.maps.android:maps-compose version: 8.3.1 (or even earlier)

Steps to reproduce

Place a MarkerInfoWindow in the content of GoogleMap.
If use a Compose BOM version 2026.03.01 or earlier, when clicking on the marker, the window info shows up.
If use a Compose BOM version later than 2026.03.01, when clicking on the marker, the window info doesn't show up.

Code example

    GoogleMap(
        cameraPositionState = cameraPositionState,
        onMapLoaded = onMapLoaded,
    ) {
        MarkerInfoWindow(
            state = singapore3State,
            title = "MarkerInfoWindow",
            icon = BitmapDescriptorFactory.defaultMarker(BitmapDescriptorFactory.HUE_BLUE),
        ) {
            Column(modifier = Modifier.background(Color.White).padding(5.dp)) {
                Text("Testing", color = Color.Blue, fontWeight = FontWeight.Bold)
                Text(it.title!!, color = Color.Blue)
            }
        }
    }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions