Hi Tim,<br>Thanks for these improvements. I have tested on several plattforms (see <a href="https://spreadsheets.google.com/ccc?key=0AjTbLQNm01pfdEtUc0FkVm9DYnBtMTNkcWpTemw3T0E&authkey=CJGm_vQF&hl=fr#gid=0">https://spreadsheets.google.com/ccc?key=0AjTbLQNm01pfdEtUc0FkVm9DYnBtMTNkcWpTemw3T0E&authkey=CJGm_vQF&hl=fr#gid=0</a>).<br>
I face the same issues like Steven. In addition, I have observed the following things:<br>- iTouch 3.1.3: Pinch Zoom Dragging -> it moves the browser instead of the map and makes the function ineffective<br>- Android Nexus S: the double click seems to work a bit better, but has still issues. No idea why (but this is a very empirical observation)<br>
- Chrome 10 - IE8 - FF3.6: dragging and double click are working fine (with mouse).<br>HTH,<br>Cédric <br><br><div class="gmail_quote">On Mon, Mar 7, 2011 at 5:58 PM, Steven M. Ottens <span dir="ltr"><<a href="mailto:steven@minst.net">steven@minst.net</a>></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;"> Hi Tim,<br>
<br>
Thanks for the update, comments inline.<div class="im"><br>
<br>
On 3/7/2011 4:56 PM, Tim Schaub wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hey-<br>
<br>
There are a number of issues with how the click and pinch handlers work together. After adding pinch zoom, we lost the multi-touch click to zoom out. In addition, the pinch handler was overly cautious about stopping event propagation because the click handler wasn't particularly good at distinguishing clicks from pinches. I've overhauled the click handler to better distinguish clicks from pinches and resolved a number of issues that came up along the way.<br>
</blockquote>
<br></div>
There is no scroll-wheel support anymore, is this intentional. I know that's not a touch device, but still it would be nice so you could use the same client on all your platforms.<div class="im"><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
<a href="http://trac.osgeo.org/openlayers/ticket/3133" target="_blank">http://trac.osgeo.org/openlayers/ticket/3133</a><br>
<br>
Andreas had reviewed this patch in a previous state, but there were still some unhandled errors getting through, so I continued to modify it.<br>
<br>
I'd appreciate it if people could test the changes on real devices (I've only tested on emulators). To best test the changes, it is important to have an error console enabled.<br>
</blockquote>
<br></div>
I tested the url below with an iPad with iOS 4.2.1 and its Safari browser.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
You should see double-click (zoom in), multi-touch click (zoom out), and pinch (zoom/drag) working in this sandbox example (on multi-touch devices):<br>
</blockquote>
<br></div>
Pinch zoom works fast and without problems. Pinch-zoom-dragging (moving your two fingers over the device) is working as well correctly and doesn't produce the drag-error mentioned below. Multi-touch click works almost always, very rarely it gets mistaken for a pinch-gesture.<br>
Double-click fails about 20%-60% of the time, without error. I tested it with a colleague and we think the problem is that it is hard to tap twice on exactly the same spot. As such a large 'buffer' area for the second tap would be advisable.<div class="im">
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<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>
<br>
You should also see no unhandled errors. However, there are currently unhandled errors when dragging on the trunk (after r11635). I'll update the sandbox when this is addressed.<br>
</blockquote></div>
I run in this error, while dragging. It didn't seem to impact performance or functionality. I take is the same as mentioned below:<br>
JavaScript Error on Line 195 in Drag.js<br>
TypeError: Result of expression'evt' [null] is not an object<div class="im"><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<a href="http://trac.osgeo.org/openlayers/ticket/2936#comment:17" target="_blank">http://trac.osgeo.org/openlayers/ticket/2936#comment:17</a><br>
</blockquote>
<br></div>
I hope this helps a bit. In general I'm happy with the performance of the client on the iPad, apart from the double-tap issue it is a pleasure to use.<br>
<br>
Regards,<br><font color="#888888">
Steven</font><div><div></div><div class="h5"><br>
<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&zoom=11&X=185241.24219&Y=561288.90625&bgOpacity=0&selectedNode=node_ch.swisstopo.fixpunkte-lage1" target="_blank">http://map.geo.admin.ch/?crosshair=bowl&zoom=11&X=185241.24219&Y=561288.90625&bgOpacity=0&selectedNode=node_ch.swisstopo.fixpunkte-lage1</a></div>
<br>