<br><br>On Friday, October 7, 2011, Henri-Maxime SUCHIER &lt;<a href="mailto:hm.suchier@artefacto.fr">hm.suchier@artefacto.fr</a>&gt; wrote:<br>&gt; Hello,<br>&gt;<br>&gt; I’m currently working on a website displaying a map fullscreen with openlayers. Main target for this website are iPads, and I thus would like to have smooth interactions with map (such as continuous zooms for example). Here is the way I build my map object :<br>
&gt;<br>&gt;  <br>&gt;<br>&gt;                                options = {<br>&gt;<br>&gt;                                                div: &quot;viewer&quot;,<br>&gt;<br>&gt;                                                theme: null,<br>
&gt;<br>&gt;                                                projection: sm,<br>&gt;<br>&gt;                                                units: &quot;m&quot;,<br>&gt;<br>&gt;                                                numZoomLevels: 18,<br>
&gt;<br>&gt;                                                maxResolution: 156543.0339,<br>&gt;<br>&gt;                                                maxExtent: new OpenLayers.Bounds(<br>&gt;<br>&gt;                                                                -20037508.34, -20037508.34, 20037508.34, 20037508.34<br>
&gt;<br>&gt;                                                ),<br>&gt;<br>&gt;                                                controls: [<br>&gt;<br>&gt;                                                                new OpenLayers.Control.TouchNavigation({<br>
&gt;<br>&gt;                                                                               dragPanOptions: {<br>&gt;<br>&gt;                                                                                               enableKinetic: true<br>
&gt;<br>&gt;                                                                               }<br>&gt;<br>&gt;                                                                })                                                          <br>
&gt;<br>&gt;                                                ],<br>&gt;<br>&gt;                                                layers: [<br>&gt;<br>&gt;                                                                new OpenLayers.Layer.OSM(&quot;OpenStreetMap&quot;, null, {<br>
&gt;<br>&gt;                                                                               transitionEffect: &#39;resize&#39;<br>&gt;<br>&gt;                                                                })<br>&gt;<br>&gt;                                                ]                             <br>
&gt;<br>&gt;                                };<br>&gt;<br>&gt; touchMap = new OpenLayers.Map(options);<br>&gt;<br>&gt;  <br>&gt;<br>&gt;  <br>&gt;<br>&gt; I’m wondering why I can’t get the same smoothness as on this example <a href="http://openlayers.org/dev/examples/mobile-sencha.html">http://openlayers.org/dev/examples/mobile-sencha.html</a> where the same controls are used. Is the smoothness here obtained through the use of sencha ? Or is there something to be done with openlayers apart from the init stage ?<br>
<br>The TouchNavigation control should provide &quot;pinch zoom&quot;. Does double-tap to zoom in work? And do you have a live example that people could look at?<br><br>-- <br>Eric Lemoine<br><br>Camptocamp France SAS<br>
Savoie Technolac, BP 352<br>73377 Le Bourget du Lac, Cedex<br><br>Tel : 00 33 4 79 44 44 96<br>Mail : <a href="mailto:eric.lemoine@camptocamp.com">eric.lemoine@camptocamp.com</a><br><a href="http://www.camptocamp.com">http://www.camptocamp.com</a><br>
<br>