Skip to content

google_maps_flutter-v2.19.0

@tenninebt tenninebt tagged this 14 Oct 17:13
Adds `GoogleMap.onPointOfInterestTap`, a callback that fires when the user taps a built-in map point of interest. The callback receives a `PointOfInterestId` containing the place ID only, matching maintainer feedback on https://github.com/flutter/packages/pull/4052 and https://github.com/flutter/packages/pull/10963.

The change is wired through the federated plugin stack: platform_interface (type + event stream), Android (`OnPoiClickListener`), iOS including sdk9/sdk10/shared (`didTapPOIWithPlaceID`), web (`IconMouseEvent.placeId` on map click), and the app-facing `google_maps_flutter` package. Tests cover Dart unit tests, Android Robolectric, iOS native, and web integration tests in the web example.

Fixes flutter/flutter#60695

## Pre-Review Checklist
Assets 2
Loading