Great ! Comments inline.<br>Thanks a lot, Tim.<br>Cédric<br><br><div class="gmail_quote">On Wed, Mar 9, 2011 at 8:11 AM, Tim Schaub <span dir="ltr">&lt;<a href="mailto:tschaub@opengeo.org" target="_blank">tschaub@opengeo.org</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I&#39;ve updated the sandbox with two changes:<br>
<br>
1) Double click pixel tolerance is now 13.  This should give fewer ignored double clicks.<br></blockquote><div><br>Just tested on Android: works very well for me. <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">



<br>
2) The pinch handler now stops the browser default behavior on handled touch move events.  This may stop the page drag on older iOS.<br>
<br>
<a href="http://dev.openlayers.org/sandbox/tschaub/click/examples/mobile.html" target="_blank">http://dev.openlayers.org/sandbox/tschaub/click/examples/mobile.html</a><br></blockquote><div><br>Also works perfectly on iOS 3.1.3 <br>


</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
I&#39;m still unclear about whether the undesired page dragging only occurs in the sandbox example, or whether you also see it on the trunk.<br></blockquote><div>Ok in you sandbox (<a href="http://dev.openlayers.org/sandbox/tschaub/click/examples/mobile.html" target="_blank">http://dev.openlayers.org/sandbox/tschaub/click/examples/mobile.html</a>) and not ok in the current trunk.  <br>


</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Thanks for the testing &amp; feedback.<br>
Tim<div><br>
<br>
On 3/8/11 2:08 PM, Cédric MOULLET wrote:<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Tim,<div><br>
It&#39;s really a great function, and so fast !!!<br>
I put two answers inline,<br>
Cédric<br>
<br>
On Tue, Mar 8, 2011 at 8:48 AM, Tim Schaub &lt;<a href="mailto:tschaub@opengeo.org" target="_blank">tschaub@opengeo.org</a><br></div><div><div></div><div>
&lt;mailto:<a href="mailto:tschaub@opengeo.org" target="_blank">tschaub@opengeo.org</a>&gt;&gt; wrote:<br>
<br>
    Thanks for the report Cédric.  Comments below.<br>
<br>
<br>
    On 3/7/11 10:49 AM, Cédric MOULLET wrote:<br>
<br>
        Hi Tim,<br>
<br>
        Thanks for these improvements. I have tested on several<br>
        plattforms (see<br>
        <a href="https://spreadsheets.google.com/ccc?key=0AjTbLQNm01pfdEtUc0FkVm9DYnBtMTNkcWpTemw3T0E&amp;authkey=CJGm_vQF&amp;hl=fr#gid=0" target="_blank">https://spreadsheets.google.com/ccc?key=0AjTbLQNm01pfdEtUc0FkVm9DYnBtMTNkcWpTemw3T0E&amp;authkey=CJGm_vQF&amp;hl=fr#gid=0</a><br>



        &lt;<a href="https://spreadsheets.google.com/ccc?key=0AjTbLQNm01pfdEtUc0FkVm9DYnBtMTNkcWpTemw3T0E&amp;authkey=CJGm_vQF&amp;hl=fr#gid=0" target="_blank">https://spreadsheets.google.com/ccc?key=0AjTbLQNm01pfdEtUc0FkVm9DYnBtMTNkcWpTemw3T0E&amp;authkey=CJGm_vQF&amp;hl=fr#gid=0</a>&gt;<br>



        &lt;<a href="https://spreadsheets.google.com/ccc?key=0AjTbLQNm01pfdEtUc0FkVm9DYnBtMTNkcWpTemw3T0E&amp;authkey=CJGm_vQF&amp;hl=fr#gid=0" target="_blank">https://spreadsheets.google.com/ccc?key=0AjTbLQNm01pfdEtUc0FkVm9DYnBtMTNkcWpTemw3T0E&amp;authkey=CJGm_vQF&amp;hl=fr#gid=0</a><br>



        &lt;<a href="https://spreadsheets.google.com/ccc?key=0AjTbLQNm01pfdEtUc0FkVm9DYnBtMTNkcWpTemw3T0E&amp;authkey=CJGm_vQF&amp;hl=fr#gid=0" target="_blank">https://spreadsheets.google.com/ccc?key=0AjTbLQNm01pfdEtUc0FkVm9DYnBtMTNkcWpTemw3T0E&amp;authkey=CJGm_vQF&amp;hl=fr#gid=0</a>&gt;&gt;).<br>



        I face the same issues like Steven. In addition, I have observed the<br>
        following things:<br>
        - iTouch 3.1.3: Pinch Zoom Dragging -&gt; it moves the browser<br>
        instead of<br>
        the map and makes the function ineffective<br>
<br>
<br>
    I also saw the same on an iTouch before upgrading.  But I&#39;m pretty<br>
    sure I saw it on the trunk (instead of just on this sandbox).  Are<br>
    you seeing the issue in this sandbox and not on the trunk?  (I&#39;ve<br>
    only got access to an upgraded iTouch, and pinch zooming works there.)<br>
<br>
<br>
I have tested on your sandbox: Here is a small video that presents the<br>
issue:<br>
<a href="http://www.youtube.com/watch?v=6VoVKeOy9dg&amp;feature=player_embedded" target="_blank">http://www.youtube.com/watch?v=6VoVKeOy9dg&amp;feature=player_embedded</a><br>
&lt;<a href="http://www.youtube.com/watch?v=6VoVKeOy9dg&amp;feature=player_embedded" target="_blank">http://www.youtube.com/watch?v=6VoVKeOy9dg&amp;feature=player_embedded</a>&gt;<br>
(sorry for the quality, but I&#39;m not Spielberg). I can observe that the<br>
pinch function is working, but the browser window moves. I don&#39;t observe<br>
that on the iPad 4.2. If it&#39;s an iOS version issue, I don&#39;t think it&#39;s<br>
so important.<br>
<br>
<br>
<br>
        - Android Nexus S: the double click seems to work a bit better,<br>
        but has<br>
        still issues. No idea why (but this is a very empirical observation)<br>
<br>
<br>
    Sounds like the 10 pixel tolerance for double clicks may not be enough.<br>
<br>
    I&#39;d be curious what you see for pixel displacement on typical<br>
    double-tap sequences (on a touch device).<br>
<br>
    <a href="http://dev.openlayers.org/sandbox/tschaub/click/examples/dpx.html" target="_blank">http://dev.openlayers.org/sandbox/tschaub/click/examples/dpx.html</a><br>
<br>
<br>
I have added an average and standard deviation function:<br>
<a href="http://dev.openlayers.org/sandbox/cmoullet/openlayers/examples/dpx.html" target="_blank">http://dev.openlayers.org/sandbox/cmoullet/openlayers/examples/dpx.html</a><br>
<br>
iTouch 3.1.3: pair: 30 - avg: 4.2 - std: 3.1<br>
iPad 4.2: pair 30 - avg 6.7 - std: 2.5<br>
Android Nexus S: pair 30 - avg: 8.3 - std: 4.5<br>
<br>
These are of course very empirical results, but it seems that I&#39;m less<br>
precise on an Android nexus S. So the tolerance should be a bit bigger.<br>
</div></div></blockquote>
<br><div><div></div><div>
<br>
-- <br>
Tim Schaub<br>
OpenGeo - <a href="http://opengeo.org" target="_blank">http://opengeo.org</a><br>
Expert service straight from the developers.<br>
_______________________________________________<br>
Dev mailing list<br>
<a href="mailto:Dev@lists.osgeo.org" target="_blank">Dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div>Political blog: <a href="http://cedricmoullet.blogspot.com/" target="_blank">http://cedricmoullet.blogspot.com/</a><br>Welcome to my world: <a href="http://www.cedricmoullet.com/" target="_blank">http://www.cedricmoullet.com/</a><br>


My Linked In profile: <a href="http://www.linkedin.com/in/cedricmoullet" target="_blank">http://www.linkedin.com/in/cedricmoullet</a><br>Twitter: <a href="http://twitter.com/cedricmoullet" target="_blank">http://twitter.com/cedricmoullet</a></div>



<div>Home sweet home: <a href="http://map.geo.admin.ch/?crosshair=bowl&amp;zoom=11&amp;X=185241.24219&amp;Y=561288.90625&amp;bgOpacity=0&amp;selectedNode=node_ch.swisstopo.fixpunkte-lage1" target="_blank">http://map.geo.admin.ch/?crosshair=bowl&amp;zoom=11&amp;X=185241.24219&amp;Y=561288.90625&amp;bgOpacity=0&amp;selectedNode=node_ch.swisstopo.fixpunkte-lage1</a></div>


<br>