Customizable, performant and vendor-free vector and raster maps, flutter wrapper for maplibre-native and maplibre-gl-js (fork of flutter-mapbox-gl/maps)
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.
The title says it all. On mobile (iOS at least),
onMapClicked
is invoked for taps on a circle layer's points, but notonFeatureTapped
. 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.