Closed akirmse closed 2 years ago
More seriously, I get drag events even if the annotation has its draggable property set to false:
@akirmse thank you for reporting. The team will look into what could be causing this behavior.
@akirmse We listen to the events from AndroidGesturesManager
and it does fire onMoveBegin
and then onSingleTapConfirmed
events when clicking.
More seriously, I get drag events even if the annotation has its draggable property set to false:
This is a bug and will be fixed.
Fixed in https://github.com/mapbox/mapbox-maps-android/pull/1552. Feel free to reopen this issue if you have other questions about this.
Environment
I have both a
OnPointAnnotationClickListener
and aOnPointAnnotationDragListener
. I observe that nearly every time I touch a marker (a point annotation), I get 3 events in this order:I think it's undesirable to have a drag triggered before nearly every click. It certainly messes up my app's logic. Perhaps the drag threshold is too low? I don't see this behavior on the Mapbox iOS SDK.