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

"Drag a point" sample does not work on Android or iOS devices. #3017

Closed
mb12 opened this issue Aug 17, 2016 · 2 comments
Closed

"Drag a point" sample does not work on Android or iOS devices. #3017

mb12 opened this issue Aug 17, 2016 · 2 comments

Comments

@mb12
Copy link

mb12 commented Aug 17, 2016

mapbox-gl-js version:v0.22.0

Steps to Trigger Behavior

The following sample does not work on either iOS or Android devices.

https://www.mapbox.com/mapbox-gl-js/example/drag-a-point/

Expected Behavior

Actual Behavior

@1ec5
Copy link
Contributor

1ec5 commented Aug 17, 2016

I’m guessing that’s because mouseDown() is guarded by isCursorOverPoint, which is only set based on a mousemove event that would never get fired on a touchscreen.

@kristfal
Copy link

This example also needs #2419 to work on mobile devices.

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

No branches or pull requests

4 participants