-
Notifications
You must be signed in to change notification settings - Fork 152
Pinch to zoom stutters and get stuck a lot #103
Comments
Trying to debug this...the |
I moved all the touches listener to document.body, no luck, doesn't seem to matter. |
Is there a way to not update the tiles until |
The code that zooms the tiles and the one that updates them are a little convoluted. I am not familiar enough with the codebase to fix this. |
@pixelfreak - I'll be working on this area and addressing this in the #84 ticket. If you want to de-convolute the code, go for it. |
I did some standalone experiment and confirmed that the culprit is the map updating the tiles on touchmove. Delaying the updates until touchend solves it. |
@pixelfreak try the |
Try pinching to zoom on iPhone/iPad. It stutters pretty badly and gets stuck a lot, meaning you can't zoom in/out again unless you let go and start pinching again.
The text was updated successfully, but these errors were encountered: