fluttercommunity / fluttercommunity/apple_maps_flutter
Option to set ConsumeTapEvents
- Dominant language
- Dart
- Stars
- 83
- Forks
- 119
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
consumeTapEvents property can't be set hence when user taps on an annotation both onTap and onAnnotationTap is called.
**Describe the solution you'd like**
An option to set consumeTapEvents in the Annotation class like in Android
**Describe alternatives you've considered**
I've set a timer now to delay my code in the onTap being called. If onAnnotation is also called, then I cancel the timer and my code in onTap will not be executed.
**Additional context**
I've got markers and polygons on my map. Now when user taps on a marker, the tap is propagated to the polygon layer too. And setting this flag will prevent this.
consumeTapEvents can be configured on Android.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.