I'm using google_maps_flutter(https://pub.dev/packages/google_maps_flutter) package.
Widget structure is Scaffold > Stack > GoogleMap
The problem is that Markers' onTap events works fine but Polygons' onTap events don't fire at all.
Why is this?
I'm using google_maps_flutter(https://pub.dev/packages/google_maps_flutter) package.
Widget structure is Scaffold > Stack > GoogleMap
The problem is that Markers' onTap events works fine but Polygons' onTap events don't fire at all.
Why is this?
I had the same problem and setting an empty onTap method for the GoogleMap object made it work
GoogleMap(
...
onTap: (x) {},
)