Skip to content

Option to set ConsumeTapEvents #74

Open
@karthiga812

Description

@karthiga812

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions