<?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 hangs when going from high level to low in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572380#M53461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Ken, but in this case this only happends when you set zoomDuration and zoomRate to 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Oct 2015 17:10:36 GMT</pubDate>
    <dc:creator>DanielGarcia</dc:creator>
    <dc:date>2015-10-26T17:10:36Z</dc:date>
    <item>
      <title>Zoom hangs when going from high level to low</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572352#M53433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I execute centerAndZoom method or other method that change zoom level from high level like 19 to low level like 2, application hangs taking a lot of memory (up to 1,5 Gb).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can test it with this simple jsfiddle... &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjsfiddle.net%2Fdgarcrom%2F1dbvjqyx%2F" rel="nofollow" target="_blank"&gt;https://jsfiddle.net/dgarcrom/1dbvjqyx/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This not happend with IE, it's happend with Chrome 46.0.2490.71.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 18:41:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572352#M53433</guid>
      <dc:creator>DanielGarcia</dc:creator>
      <dc:date>2015-10-19T18:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom hangs when going from high level to low</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572353#M53434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems like a memory leak on Chrome. I tried a few different API versions to see if that helped... no such luck. Very quickly, we go from low memory usage to ~ 4 gbs in about 10 seconds (then, it crashes for me - "aw, snap"):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/132325_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 20:12:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572353#M53434</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2015-10-19T20:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom hangs when going from high level to low</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572354#M53435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interestingly, if I attach a debugger and step through it slowly, it ends up working ok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 20:29:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572354#M53435</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2015-10-19T20:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom hangs when going from high level to low</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572355#M53436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are also experiencing this issue.&amp;nbsp; Chrome 32-bit very quickly runs up its ~3.8GB of memory and then crashes with an "Aw, Snap!"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 21:13:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572355#M53436</guid>
      <dc:creator>ChristopherTotty</dc:creator>
      <dc:date>2015-10-19T21:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom hangs when going from high level to low</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572356#M53437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was playing with some of these properties but it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;navigationMode: 'classic',&lt;/P&gt;&lt;P&gt;optimizePanAnimation: true,&lt;/P&gt;&lt;P&gt;displayGraphicsOnPan: false,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this is a very serious problem, because chrome takes all memory available and hangs the computer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All ESRI Javascript users are potencial victims.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 06:25:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572356#M53437</guid>
      <dc:creator>DanielGarcia</dc:creator>
      <dc:date>2015-10-20T06:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom hangs when going from high level to low</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572357#M53438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it is a serious problem.&amp;nbsp; I was hoping there would be a solution posted here overnight, but now I guess I know what I will be working on this morning. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 12:58:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572357#M53438</guid>
      <dc:creator>ChristopherTotty</dc:creator>
      <dc:date>2015-10-20T12:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom hangs when going from high level to low</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572358#M53439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just tried using navigationMode: 'classic', and it works!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is strange is, it doesn't work on its own.&amp;nbsp; I happened to have a line of code placed just before the original poster's call to zoom in order to go to the debugger in Chrome Dev Tools.&amp;nbsp; Without dev tools open, this line should do nothing.&amp;nbsp; Without navigationMode set it does do nothing, but with navigationMode set it allows the zoom to complete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no information on the actual cause other than that, but I am going to place some debugger; calls before the locations in our code where we zoom and see what happens!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: I have updated the fiddle to check for Chrome 46 Win32 before running the debugger; line, just in case a supported web browser handles calls to debugger; without the browser's dev tools open.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See updated fiddle: &lt;A href="https://jsfiddle.net/1dbvjqyx/14/" title="https://jsfiddle.net/1dbvjqyx/14/"&gt;ESRI JS API 3.13 - JSFiddle&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit 2: Sorry for the false hope, but after multiple attempts the issue does persist.&amp;nbsp; It does appear that navigationMode 'classic' did help, but debugger; or no, I am still seeing crashes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 13:12:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572358#M53439</guid>
      <dc:creator>ChristopherTotty</dc:creator>
      <dc:date>2015-10-20T13:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom hangs when going from high level to low</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572359#M53440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you confirm Chrome is crashing only when using the code within JSFiddle or Sandbox or does it crash as well when using "local" code? In the tests I did it crashes only when using JSFiddle/Sandbox.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 13:43:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572359#M53440</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-10-20T13:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom hangs when going from high level to low</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572360#M53441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am seeing the issue locally running a site from IIS and on our production site (also IIS on a Windows Server box).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 13:47:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572360#M53441</guid>
      <dc:creator>ChristopherTotty</dc:creator>
      <dc:date>2015-10-20T13:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom hangs when going from high level to low</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572361#M53442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No dice for my applications. I have a version using an older version of the api and another using 3.12 (also not current) and get the same "seizing" behavior on both. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clearly it works in the jsFiddle though. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since it appears to be associated with "rapid" zooms, I'll probably write an intermediate function to zoom incrementally based upon some trial-and-error sensitivity testing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have a better idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 14:00:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572361#M53442</guid>
      <dc:creator>NathanaelVaughan</dc:creator>
      <dc:date>2015-10-20T14:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom hangs when going from high level to low</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572362#M53443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alright!&amp;nbsp; I'm back and this time with a real workaround!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have traced the problem down to the dojo module that handles the animation for the zoom.&amp;nbsp; Why not just skip that?&amp;nbsp; Esri provides configurable values for zoomDuration and zoomRate that are handed to the animation function.&amp;nbsp; If we set both of these to 0, then the animation is skipped and no memory leak occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See updated fiddle: &lt;A href="https://jsfiddle.net/1dbvjqyx/16/" title="https://jsfiddle.net/1dbvjqyx/16/"&gt;ESRI JS API 3.13 - JSFiddle&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See Esri help topic about the animation properties: &lt;A href="https://developers.arcgis.com/javascript/jssamples/mapconfig_smoothzoom.html" title="https://developers.arcgis.com/javascript/jssamples/mapconfig_smoothzoom.html"&gt;Customize zoom animation | ArcGIS API for JavaScript&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 14:01:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572362#M53443</guid>
      <dc:creator>ChristopherTotty</dc:creator>
      <dc:date>2015-10-20T14:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom hangs when going from high level to low</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572363#M53444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I experienced the similar issue yesterday that Daniel reported here. I thought it could be due to Chrome bug in &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;46.0.2490.71 (which I still believe). So, I submitted the bug &lt;/SPAN&gt;&lt;A href="https://code.google.com/p/chromium/issues/detail?id=545158" style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; line-height: 1.5;" title="https://code.google.com/p/chromium/issues/detail?id=545158"&gt;https://code.google.com/p/chromium/issues/detail?id=545158&lt;/A&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; line-height: 1.5;"&gt; and it looked related to out of memory. I initially thought it's related to CORS because when I see network traffic in Chrome then request status of exportMap call remains 'pending' (see attached) and after few seconds Chrome tab is crashed.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; line-height: 1.5;"&gt;Most surprising thing to me is - the code was working for me last Friday. But stopped working Monday morning. I suspect Chrome update would have been made silently on my machine. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; line-height: 1.5;"&gt;Christopher - do you have more details on the issue? e.g. dojo module bug, chrome bug or something else. I am not sure you work with ESRI. If you have not submitted bug with ESRI then I can submit the bug. I am concerned on this workaround because it was working before and stopped working mostly due to chrome update. Also, it works with Chrome on Windows 2008 Server R2 standard edition. It did not work for me on Chrome on Windows 7. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 17:03:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572363#M53444</guid>
      <dc:creator>BhavinSanghani</dc:creator>
      <dc:date>2015-10-20T17:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom hangs when going from high level to low</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572364#M53445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is logged in the API. I'm looking into it.&lt;/P&gt;&lt;P&gt;Unfortunately, it's not the first time Chrome introduces those problems.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 17:19:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572364#M53445</guid>
      <dc:creator>YannCabon</dc:creator>
      <dc:date>2015-10-20T17:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom hangs when going from high level to low</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572365#M53446</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;Can you please share some more details about the issue and your knowledge related to this one? In which version of the API this issue has been reported? It would be great to understand other issues that Chrome introduced in past from architectural point of view? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason I am asking, we are approaching product release and past code complete. So, I wanted to make sure the workaround rolls out to the no. of customers with exact information. No wonder if customers consider this workaround as our product bug.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 18:09:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572365#M53446</guid>
      <dc:creator>BhavinSanghani</dc:creator>
      <dc:date>2015-10-20T18:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom hangs when going from high level to low</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572366#M53447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhavin!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, no I am not an ESRI employee, just a concerned citizen. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe the zoom issue is occurring somewhere inside the dojo/_base/fx module included in the ESRI init.js file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not able to view the bug you submitted, for some reason.&amp;nbsp; I have not filed a bug with Google/Chrome or ESRI, but it looks like we now have an ESRI employee on the case!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 18:11:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572366#M53447</guid>
      <dc:creator>ChristopherTotty</dc:creator>
      <dc:date>2015-10-20T18:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom hangs when going from high level to low</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572367#M53448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think, due to some permission issue you are not able to see the bug. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 18:26:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572367#M53448</guid>
      <dc:creator>BhavinSanghani</dc:creator>
      <dc:date>2015-10-20T18:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom hangs when going from high level to low</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572368#M53449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have experienced the issue in separate applications running API v. 3.5 and 3.12. Based upon this, I would expect the issue to be present in all releases of the API &amp;gt;v 3.5 (if not all).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wrote a zoomThrottle function to limit the amount of zooming that could be generated in a single action - I set the zoom scale threshold at 100x and everything is working appropriately. I did not experiment extensively to see how much I could "push" the threshold prior to failure, although the zoom appears to be close to breaking at my current threshold (it pauses just long enough to make me think it has failed and then completes). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function is fairly unique to my setup, otherwise I would share it. If you are concerned about the speed of an official fix, I suggest adopting a similar approach. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 18:29:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572368#M53449</guid>
      <dc:creator>NathanaelVaughan</dc:creator>
      <dc:date>2015-10-20T18:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom hangs when going from high level to low</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572369#M53450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know you said your function is unique to your app, but could you give some more detail on how this might be accomplished?&amp;nbsp; I'm not sure how one would go about throttling the zoom using a function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 18:46:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572369#M53450</guid>
      <dc:creator>ChristopherTotty</dc:creator>
      <dc:date>2015-10-20T18:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom hangs when going from high level to low</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572370#M53451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I apologize in advance - I don't post code much (also note that it is an old application and thus is not written with AMD-style references).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The premise for my fix is that the built-in zoom functions work well - the problem manifests when using a secondary function to zoom by a large degree. In my case, zooming to a selected feature/graphic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function is an intermediate tool that uses map.centerAndZoom to zoom to the indicated extent, but only if the extent is within a zoom threshold, otherwise, it will still center the extent, but only take the level down 3 more levels (I know this part is arbitrary). If you wanted to do a REALLY good job, you would put an interval object in to zoom partially, wait a second, and then zoom again until reaching the full-zoom. My application didn't require that much zooming though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function zoomThrottle (myFeatureExtent) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; // limits the change in level to prevent zoom animation menory leak problems&lt;/P&gt;&lt;P&gt;&amp;nbsp; var zoomFactorX = (map.extent.xmax - map.extent.xmin)/(myFeatureExtent.xmax - myFeatureExtent.xmin);&lt;/P&gt;&lt;P&gt;&amp;nbsp; var zoomFactorY = (map.extent.ymax - map.extent.ymin)/(myFeatureExtent.ymax - myFeatureExtent.ymin);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; var newCenterPoint = new esri.geometry.Point((myFeatureExtent.xmin + myFeatureExtent.xmax)/2, (myFeatureExtent.ymin + myFeatureExtent.ymax)/2, new esri.SpatialReference({wkid: myFeatureExtent.spatialReference.wkid}))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; var newScaleFactor = 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if (zoomFactorX &amp;gt; zoomFactorY) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; newScaleFactor = map.getScale()/zoomFactorX;&lt;/P&gt;&lt;P&gt;&amp;nbsp; } else {&lt;/P&gt;&lt;P&gt;&amp;nbsp; newScaleFactor = map.getScale()/zoomFactorY;&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; var newLevel = lods[lods.length-1].level;&lt;/P&gt;&lt;P&gt;&amp;nbsp; for (var ii = 0; ii &amp;lt; boundingLods.length; ii ++) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; if (newScaleFactor &amp;lt; boundingLods[ii].ceiling &amp;amp;&amp;amp; newScaleFactor &amp;gt; boundingLods[ii].floor) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; newLevel = boundingLods[ii].level;&lt;/P&gt;&lt;P&gt;&amp;nbsp; break;&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; // lookup level&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; var scaleFactorCeiling = 100;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if (lods[map.getLevel()].scale/lods[newLevel].scale &amp;gt; scaleFactorCeiling) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; newLevel = map.getLevel() + 3;&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; map.centerAndZoom(newCenterPoint, newLevel);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 18:53:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572370#M53451</guid>
      <dc:creator>NathanaelVaughan</dc:creator>
      <dc:date>2015-10-20T18:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom hangs when going from high level to low</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572371#M53452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhavin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For my estimate, issue affects all API versions &amp;gt; 2.6&lt;/P&gt;&lt;P&gt;This issue is due to Chrome not properly handling large scaled images.&lt;/P&gt;&lt;P&gt;&lt;A href="https://code.google.com/p/chromium/issues/detail?id=437904" title="https://code.google.com/p/chromium/issues/detail?id=437904"&gt;Issue 437904 - chromium - Applying opacity to element with big scale transform freezes the page - An open-source proj…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I'm working on working around that issue internally for 3.15.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 22:40:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-hangs-when-going-from-high-level-to-low/m-p/572371#M53452</guid>
      <dc:creator>YannCabon</dc:creator>
      <dc:date>2015-10-20T22:40:18Z</dc:date>
    </item>
  </channel>
</rss>

