Closed rbovard closed 9 years ago
It's related of OpenLayers, than witch version of CGXP/OpenLayers do you use ?
@rbovard, not as far as I know... I never heard about the "clicking-move" issue...
I can reproduce. But if you do a very quick touch, there is no problem. But I can well understand that in administrations, the touch can be slow... ;O))
Ha ha, thanks @gnerred !
Yes if you tap very very quickly, you have a chance to succeed but 9/10 times, the map moves...
It is not so evident on my Samsung Galaxy tab active. I succeed 9/10 when I tap quickly (but not very very quickly)
Hmm ok, so it's related to the hardware?
I test here with a Galaxy Tab S, I can give a try at home with a Galaxy Tab 2 to confirm that.
I tested with a Galaxy Tab 2 yesterday evening and the issue was not present. So I think it's happening on recent tablets, which have higher capacities...
Maybe someone could test with another recent tablet to confirm that?
@sbrunner I see that you removed the milestone, so it won't be fixed?
The solution I can do is to do a click with a pixel tolerance of 5px. The problem is that the longpress is managed by SenchaTouch and he can't have any tollerence...
I just tried your example and it works a lot better than http://geomapfish-demo.camptocamp.net/1.6/mobile !!
For the record, the map is still moving on the "click" but the getfeature is fired, so I think it's a good workaround.
Thanks a lot!
After some tests with Chrome on an Android Tablet, I noticed that it's very hard to make a GetFeature, even after update to
1.5.3dev-20150126
.In fact, when "clicking" on the map, the map moves so the GetFeature is not fired. I tested with the native Android browser, the map doesn't move when clicking on it so it's more much simple to make a query.
I don't know if it's related to C2Cgeoportal or OpenLayers.
@kalbermattenm @gnerred Did you noticed the same behaviour?