<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Zoom and Pan problem on Apple hardware - js api v4.0 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-and-pan-problem-on-apple-hardware-js-api-v4-0/m-p/139009#M12947</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yann,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot, I tried your work around on my IPHONE and it works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example : &lt;A href="http://test.inser.ch/lvej/" title="http://test.inser.ch/lvej/"&gt;http://test.inser.ch/lvej/&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Stéph.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jul 2016 06:16:37 GMT</pubDate>
    <dc:creator>StéphaneGuignard</dc:creator>
    <dc:date>2016-07-19T06:16:37Z</dc:date>
    <item>
      <title>Zoom and Pan problem on Apple hardware - js api v4.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-and-pan-problem-on-apple-hardware-js-api-v4-0/m-p/139007#M12945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use the last version of js esri javascript 4.0 and I have a problem with the zoom out and pan. so I describe you the problem for each hardware :&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;IPAD (IOS 9.3) - Safari : Zoom out with two fingers go out of the window (and then you can select an other tab after)&lt;/LI&gt;&lt;LI&gt;IPHONE 6 (IOS 9.3) - Safari : When you do a Pan, all the screen move (buttons..) and this is bad experience for users&lt;/LI&gt;&lt;LI&gt;IPHONE 6&amp;nbsp; (IOS 9.3) - Chrome : Same as 2 and the second problem is when you pan to bottom the page is reloaded.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For testing, you can try with the sample of Developers site : &lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/get-started-mapview/live/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/get-started-mapview/live/index.html"&gt;Get started with MapView - Create a 2D map - 4.0&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to change the viewport but I didn't have success, such :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e8bf6a;"&gt;&amp;lt;meta &lt;/SPAN&gt;&lt;SPAN style="color: #bababa;"&gt;name=&lt;/SPAN&gt;&lt;SPAN style="color: #a5c261;"&gt;'viewport' &lt;/SPAN&gt;&lt;SPAN style="color: #bababa;"&gt;content=&lt;/SPAN&gt;&lt;SPAN style="color: #a5c261;"&gt;'initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no'&lt;/SPAN&gt;&lt;SPAN style="color: #e8bf6a;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone has an idea to fix it or this is a bug of js api 4?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(This is not a problem for Android mobile and tablet)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 13:29:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-and-pan-problem-on-apple-hardware-js-api-v4-0/m-p/139007#M12945</guid>
      <dc:creator>StéphaneGuignard</dc:creator>
      <dc:date>2016-06-01T13:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom and Pan problem on Apple hardware - js api v4.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-and-pan-problem-on-apple-hardware-js-api-v4-0/m-p/139008#M12946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stéphane,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are looking into having proper touch support in 4.1. In the meantime you can work around the issue by stopping the event to propagate to the browser:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; view.surface.addEventListener("touchmove", function(event) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; event.preventDefault();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; })&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:41:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-and-pan-problem-on-apple-hardware-js-api-v4-0/m-p/139008#M12946</guid>
      <dc:creator>YannCabon</dc:creator>
      <dc:date>2021-12-11T07:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom and Pan problem on Apple hardware - js api v4.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-and-pan-problem-on-apple-hardware-js-api-v4-0/m-p/139009#M12947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yann,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot, I tried your work around on my IPHONE and it works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example : &lt;A href="http://test.inser.ch/lvej/" title="http://test.inser.ch/lvej/"&gt;http://test.inser.ch/lvej/&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Stéph.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2016 06:16:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-and-pan-problem-on-apple-hardware-js-api-v4-0/m-p/139009#M12947</guid>
      <dc:creator>StéphaneGuignard</dc:creator>
      <dc:date>2016-07-19T06:16:37Z</dc:date>
    </item>
  </channel>
</rss>

