-
Notifications
You must be signed in to change notification settings - Fork 591
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
Draw removes boxZoom but never restores it on removal #571
Comments
I tried to implement this in andrewharvey@1d72e54, but it's not ready for PR because when testing it seems like the map becomes stuck in pan mode... |
Probably related to mapbox/mapbox-gl-js#2237 |
That sounds like the exact issue, will have to wait for that to be resolved before this issue can be addressed. |
Can anyone suggest a workaround for this? |
As a workaround call |
During setup Draw removes boxZoom (to be able to provide shift-box-selections instead):
mapbox-gl-draw/src/setup.js
Line 39 in 78fddb1
But when draw is removed it never tries to enable it again.
The text was updated successfully, but these errors were encountered: