Closed Ph0tonic closed 4 years ago
I had a look at the code and I found the following inside DraggableAnnotationController.java
:
mapView.setOnTouchListener(new View.OnTouchListener() {
@Override
public boolean onTouch(View v, MotionEvent event) {
androidGesturesManager.onTouchEvent(event);
// if drag is started, don't pass motion events further
return draggedAnnotation != null;
}
});
From what I know, I think that we replace the touchListener
of mapView
whenever we create a new AnnotationManager which lead to this bug.
Duplicated of #863, I'll close this issue.
Hello,
I encountered a strange behaviour. When I create a marker via a
CircleManager
on which I add adraggableListener
then if I instantiate anotherManager
(Symbol, Circle, ...) afterwards then my listener is not triggered any more. This happens even if I set the nextManager
to be below myCircleManager
layer using thebelowLayerId
property.Do you have any clue on what could cause this issue ? Thanks in advance