Repository navigation
Pinch zoom hangs #257
Description
Activity
I've noticed certain interactions result in that and plan to look into it when I get the chance.
If you hit refresh or move the map it tends to work as a temporary workaround.
Thanks for the quick reply.
Unfortunately, those workarounds don't work in this case .. panning is unresponsive when this has happened, and a forced refresh will take me back to the original extents, rendering the pinch zoom useless.
just for reference, I very occasionally get the 'paused during interaction' using chrome on my desktop PC.
Once #268 is merged you may like to try a test build to see if this is fixed.
Did a reinstall now, just to check, but still broken.
The behavior is slightly different though, previously the map would not zoom in and the portals would disappear.
Now the map zooms in, but doesn't update to more detail. The status still remains "paused during user interaction"Will keep an eye on the commits for the mobile render limit changes.
Try using the +/- buttons until pinch zoom is fixed.
Yup that's what I'll be doing.
The latest nightly seems very smooth aside from the pinch zoom issue.@RabidArts just for the record...does double tap to zoom works for you?
@RabidArts Can you check pinch-to-zoom with the latest version and all plugins and display user location turned off?
If it works can you please try turning one plugin on at a time to see if it's a particular plugin, or perhaps just the number of total active plugins, causing the issue.
@RabidArts could you please check http://iitcm.code-noobs.org/iitc_pinch_to_zoom_debug5.apk if it fixes your pinch2zoom bug?
@hastarin I tried both the latest and test release and unfortunately both fail.
Interestingly the status message on the release version seems to respond properly but the portals on the map disappear and wont come back, and no more zooming is possible.
Usually both freeze up.Struggling to get the buttons to work too.
@leCradle Unfortunately double tap also won't work.
I tried the debug version and it also doesn't seem to work... and neither do the zoom buttons. :-(@RabidArts portals disappear? With google layers too?
Can you test some builds on http://iitcm.code-noobs.org ?
Which is the latest version that works for you?
Hint: try these first http://iitcm.code-noobs.org/IITC-Mobile-2013-05-09-143915.apk and http://iitcm.code-noobs.org/IITC-Mobile-2013-05-12-220049.apk
If both version do well, please check later versions....
Would be a big help for us since we can't reproduce the bug. Thxportals disappearing could be an instance of #90 - the map layer appearing on top of everything else. Do the zoom controls, status panel, etc also disappear?
If it works for google layers (I have this problem when zooming out in areas with high portal density) it could be an instance of Leaflet/Leaflet#1698
Thanks so far guys.
I'm running through a bunch of tests on a few versions now - so far I've picked up that there is a distinct difference in symptoms depending on what base layer I'm using.
So far, it looks like the default ingress map layer works a little better (I can double tap and use the zoom buttons, while the MapQuest OSM layer doesn't let me do this). Still no pinch zoom on either though.
@jonatkins The zoom controls and status panel do not disappear - only the portals.
@leCradle That leaflet description sounds quite plausible and similar, except this isn't an occasional thing that happens, it's consistent whenever I pinch zoom.
19 remaining items
@leCradle I did update Leaflet a week or so ago - might have helped?
Not certain if this is the samew issue, or something separate, but I had the following comment on the IITC page
"I have identified when the multi touch commands stop working in the application is when I use the GPS location. If I have the app find me on the phone instead of manually finding a location or using the search feature, Multi touch commands for zoom stop working."
Zoom still don't work on my Note II with stock rom.
Not really a solution:
I tried to run IITC as a user script under some Android Browsers (Chrome, Tampermonkey for Android, Opera (Classic)).
The only solution is to convert it into an addon for Firefox mobile. Pinch to zoom works here but it has some disadvantages:- No Plugins
- No Setting
- Switching between layers worked faithless
But I can use IITC on my phone. :)
@jonatkins I don't get his point.
"If I have the app find me on the phone instead of manually finding a location or using the search feature [...]"
This implies he means the "get location" button, but this is no GPS location...so...did he mean the GPS-location (display user location) or the "get location" stuff?Can anyone confirm this location-pinch2zoom coherence?
@Scavanger this is really interesting. How did you convert the script?
This is very easy. I used page-mod (https://addons.mozilla.org/en-US/developers/docs/sdk/1.14/modules/sdk/page-mod.html) put it together with the IITC script and compiled the whole thing with the Mozilla addon SDK for FF mobile.
I made only to small hacks:
- Bring back the layer chooser
- Use the X in the portal info to close the whole view.
You can find the source code and the compiled addon (xpi file) here: https://github.com/Scavanger/IITCFirefoxAddOn
I was having this same problem until I turned show user location on. Only with user location on am I able to pinch zoom. No other plugins are installed. This is on a Galaxy S4, with IITC build 0.4.6, version 0.12.1.20130612.162306.
Thank you @nathanstretch! I've been having this issue for months and turning show use location did fix the issue.
I've been having the pinch/zoom problem also, on a Samsung Galaxy S2, AOKP. (Android browser installed, Chrome not installed.) I noticed that...
- After I first installed the app, pinch/zoom worked just fine.
- After a short while (very likely after I first used the "find location" feature as noted above) it stopped working and would freeze the app when I tried.
- Enabling "show user location" does make it work again but with one difference. Before, the map and markers would enlarge dynamically as I used the pinch-open gesture to zoom in. Now nothing moves on the screen until I finish the gesture and remove my fingers from the screen, at which point, the zoom happens. While it's useful as-is, it was still more useful to have the dynamic visual indicator of the degree to which I was zooming.
FYI issue is reported to leaflet, but ignored until now Leaflet/Leaflet#1759
As written in #636 I have problems with zooming in/out on my nex5 on Android 4.4
I figured out, that this problem appears only when using google-maps, not with OSM.The map freezes on "map: pause"
- added a commit that references this issue
on Dec 2, 2013 Check this out pls: Leaflet/Leaflet#2693 (comment)
I kind of did a quick read through of this. I have this issue, a lot. On my old S2 Skyrocket, S4, N7, and even on my S5 now.
I noticed that it almost always happens if I try to move the map, or zoom in/out, when data is still being loaded. it never seems to happen if I remember to wait until the data is fully loaded.
I always use the Google Maps view. I have not tried this on any other map layer.
Using Mobile, I'm completely unable to pinch zoom.
After lifting my fingers, the portals disappear, and the status remains "paused during interaction".
Seems that the end of the pinch zoom action is not detected.
I'm running stock android 4.1.1 on a Samsung N7100 (Note 2).
I've tried the 0.3.6 test build and 0.3.2 stable, and both exhibit this, with the stable release giving me issues with the zoom buttons in addition.