Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draggable Symbols not working when setting mapview.setOnTouchListener(null) #1140

Open
virtuoso80 opened this issue Jul 15, 2020 · 2 comments

Comments

@virtuoso80
Copy link

Hi, in my application I create symbols on the MapView using a SymbolManager and provide an option for dragging them by calling symbol.setDraggable(true) .

However, if I draw a line on the map and after finish drawing it I call mapView.setOnTouchListener(null), symbols can no longer be dragged. (followed guide Drawing Search Area: https://docs.mapbox.com/android/maps/examples/finger-draw-query/ )

Everything else (clicking and long clicking on lines, symbols etc) seems to be working ok. Also all other gestures (pan, zoom etc). I don't understand how setting the touch listener to null disables dragging the symbols.

@Ph0tonic
Copy link
Contributor

Ph0tonic commented Aug 1, 2020

Hello,
You should be able to find some workaround for this issue here #884.

@englezakis
Copy link

Thanks. Will check it right away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants