Steps to reproduce
When working with cluster manager pins on Android, the pin info window's onTap callback doesn't fire.
To reproduce the issue, use the example project in the flutter packages repo, under packages/google_maps_flutter/google_maps_flutter/example/. Edit lib/clustering.dart to add an onTap to the InfoWindow in _addMarkersToCluster(), around line 171:
infoWindow: InfoWindow(
title: markerIdVal,
snippet: '*',
onTap: () {
debugPrint('Info window of $markerIdVal was tapped'); // or any other action
},
),
After making the above edit:
- Run the example app in debug mode
- Click the "Manage clustering" option
- Click "Add cluster manager"
- Zoom in until you can see the pins
- Tap on a pin
- Tap on the pin info window
Note that in Android, nothing happens, but in iOS, the callback fires, so the debug print occurs.
Expected results
The cluster pin marker info window onTap callback should fire for Android just like it fires for other platforms.
Actual results
The cluster pin marker info window onTap callback fires for other platforms, but not for Android.
Code sample
Please see the above code sample in the description.
Screenshots or Video
Logs
No response
Flutter Doctor output
Doctor output
❯ fvm flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.35.7, on macOS 26.4 25E246 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 36.1.0)
[✓] Xcode - develop for iOS and macOS (Xcode 26.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2025.2)
[✓] VS Code (version 1.113.0)
[✓] Connected device (7 available)
[✓] Network resources
• No issues found!
Steps to reproduce
When working with cluster manager pins on Android, the pin info window's onTap callback doesn't fire.
To reproduce the issue, use the example project in the flutter packages repo, under
packages/google_maps_flutter/google_maps_flutter/example/. Editlib/clustering.dartto add anonTapto the InfoWindow in_addMarkersToCluster(), around line 171:After making the above edit:
Note that in Android, nothing happens, but in iOS, the callback fires, so the debug print occurs.
Expected results
The cluster pin marker info window
onTapcallback should fire for Android just like it fires for other platforms.Actual results
The cluster pin marker info window
onTapcallback fires for other platforms, but not for Android.Code sample
Please see the above code sample in the description.
Screenshots or Video
Logs
No response
Flutter Doctor output
Doctor output