maplibre/flutter-maplibre-gl

onMapClicked and onFeatureTapped behave inconsistently on web vs mobile when interacting with a circle layer

ianthetechie opened this issue · 1 comments

The title says it all. On mobile (iOS at least), onMapClicked is invoked for taps on a circle layer's points, but not onFeatureTapped. On web and Android however, onMapClicked only applies to clicks on the map space itself rather than on the points.

The following repo illustrates the discrepancy in action. You can only tap the circle points (non-clustered) on iOS. Setting breakpoints on other platforms reveals that onFeatureTapped is being triggered instead. My inclination is that this is a bug in the way the feature is implemented on iOS and the other two are correct.

Any news on this ?