You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Order of initialization of annotation managers matters! #863
I have found a weird bug! When you initialize symbol manager and the circle manager, your symbol can't be dragged! If you change the order of initialization it works!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
We're also encountering this in the mapbox_gl flutter plugin (tracked at flutter-mapbox-gl/maps#130). This is kind of significant, as it means that we can only have one draggable annotation type.
@adrianababakanian@LukasPaczos Sorry for spamming, but do you know if this is being worked on? Otherwise we'd have to find some workaround for the mapbox_gl flutter plugin to support draggable annotations.
Activity
LukasPaczos commentedon Mar 22, 2019
This is an interesting case, thanks for the report @androideveloper.
Because we are using
mapView.setOnTouchListener()to intercept touch events, only the last created manager will have draggable annotations.There seem to be 2 ways of resolving this:
DraggableAnnotationControllera singleton that dispatches drag events to all managersOnTouchListener.Will update this ticket with progress, if we find any of above viable.
androideveloper commentedon Mar 22, 2019
@LukasPaczos Thanks for the update! I will keep it as the last created manager until this is resolved.
stale commentedon Sep 18, 2019
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
stale commentedon Sep 18, 2019
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.
stale commentedon Mar 16, 2020
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
stale commentedon Mar 17, 2020
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.
adrianababakanian commentedon Mar 27, 2020
We should re-open this, since recent reports on Stack Overflow indicate that developers are still encountering the issue.
m0nac0 commentedon May 24, 2020
We're also encountering this in the mapbox_gl flutter plugin (tracked at flutter-mapbox-gl/maps#130). This is kind of significant, as it means that we can only have one draggable annotation type.
m0nac0 commentedon Jun 15, 2020
@adrianababakanian @LukasPaczos Sorry for spamming, but do you know if this is being worked on? Otherwise we'd have to find some workaround for the mapbox_gl flutter plugin to support draggable annotations.
virtuoso80 commentedon Jul 13, 2020
Hello. Has there been a workaround for this? My application stops registering drag events after setting
mapview.setOnTouchListener(null)when following this guide https://docs.mapbox.com/android/maps/examples/finger-draw-query/