<?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: JS API 4.X: why is &amp;quot;Goto was interrupted&amp;quot; logged as an error ?? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-x-why-is-quot-goto-was-interrupted-quot/m-p/1135044#M75990</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/36532"&gt;@DaveFullerton&lt;/a&gt;&amp;nbsp; it's still documented in the help. If you search for the word "catch" you'll find this paragraph and a code sample:&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;"&lt;SPAN&gt;This function returns a promise which resolves as soon as the new view has been set to the target. If the transition is animated, then the ongoing animation can be obtained using&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#animation" target="_blank"&gt;MapView.animation&lt;/A&gt;&lt;SPAN&gt;. If setting the view to the new target fails, the promise returned by the goTo() method rejects with an error. Use a catch statement, to handle the error:"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Wed, 19 Jan 2022 16:59:19 GMT</pubDate>
    <dc:creator>KellyHutchins</dc:creator>
    <dc:date>2022-01-19T16:59:19Z</dc:date>
    <item>
      <title>JS API 4.X: why is "Goto was interrupted" logged as an error ??</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-x-why-is-quot-goto-was-interrupted-quot/m-p/1010241#M71121</link>
      <description>&lt;P&gt;Dear JS API team,&lt;/P&gt;&lt;P&gt;Just wondering why do you log the following error, when a GoTo is called after another GoTo ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GoTo.JPG" style="width: 712px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/2376i99DE31565E01E3E8/image-size/large?v=v2&amp;amp;px=999" role="button" title="GoTo.JPG" alt="GoTo.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In my application, it is going by default to an extent. But is the user specify a location, then a query is performed (async operation) and if a result is found it will go to that new location interrupting the previous goTo. It is expected, not an error. Am I missing anything ?&lt;/P&gt;&lt;P&gt;Thanks for listening !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 17:53:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-x-why-is-quot-goto-was-interrupted-quot/m-p/1010241#M71121</guid>
      <dc:creator>NicolasGIS</dc:creator>
      <dc:date>2020-12-16T17:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: JS API 4.X: why is "Goto was interrupted" logged as an error ??</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-x-why-is-quot-goto-was-interrupted-quot/m-p/1010357#M71123</link>
      <description>&lt;P&gt;There's some info in the help regarding why this error occurs and how you can use a catch statement to handle (or ignore) the error&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#goTo" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#goTo&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 21:47:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-x-why-is-quot-goto-was-interrupted-quot/m-p/1010357#M71123</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2020-12-16T21:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: JS API 4.X: why is "Goto was interrupted" logged as an error ??</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-x-why-is-quot-goto-was-interrupted-quot/m-p/1010363#M71125</link>
      <description>&lt;P&gt;Nice, thanks ! Should have read more carefully though : everything was there &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 22:09:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-x-why-is-quot-goto-was-interrupted-quot/m-p/1010363#M71125</guid>
      <dc:creator>NicolasGIS</dc:creator>
      <dc:date>2020-12-16T22:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: JS API 4.X: why is "Goto was interrupted" logged as an error ??</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-x-why-is-quot-goto-was-interrupted-quot/m-p/1134879#M75975</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/491"&gt;@KellyHutchins&lt;/a&gt;&amp;nbsp;I don't see anything in the latest API documentation that explains why the "interrupted" error occurs.&amp;nbsp; Has something changed either in the API or in the documentation?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 04:40:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-x-why-is-quot-goto-was-interrupted-quot/m-p/1134879#M75975</guid>
      <dc:creator>DaveFullerton</dc:creator>
      <dc:date>2022-01-19T04:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: JS API 4.X: why is "Goto was interrupted" logged as an error ??</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-x-why-is-quot-goto-was-interrupted-quot/m-p/1135044#M75990</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/36532"&gt;@DaveFullerton&lt;/a&gt;&amp;nbsp; it's still documented in the help. If you search for the word "catch" you'll find this paragraph and a code sample:&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;"&lt;SPAN&gt;This function returns a promise which resolves as soon as the new view has been set to the target. If the transition is animated, then the ongoing animation can be obtained using&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#animation" target="_blank"&gt;MapView.animation&lt;/A&gt;&lt;SPAN&gt;. If setting the view to the new target fails, the promise returned by the goTo() method rejects with an error. Use a catch statement, to handle the error:"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 19 Jan 2022 16:59:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-x-why-is-quot-goto-was-interrupted-quot/m-p/1135044#M75990</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2022-01-19T16:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: JS API 4.X: why is "Goto was interrupted" logged as an error ??</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-x-why-is-quot-goto-was-interrupted-quot/m-p/1135052#M75992</link>
      <description>&lt;P&gt;OK, thanks.&amp;nbsp; I guess it just wasn't clear to me that "an error" meant the view:goto-interrupted error specifically.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 17:18:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-x-why-is-quot-goto-was-interrupted-quot/m-p/1135052#M75992</guid>
      <dc:creator>DaveFullerton</dc:creator>
      <dc:date>2022-01-19T17:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: JS API 4.X: why is "Goto was interrupted" logged as an error ??</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-x-why-is-quot-goto-was-interrupted-quot/m-p/1232457#M79346</link>
      <description>&lt;P&gt;I was getting this same error due to a second "goTo" call outside of the promise of the first "goTo" that had not yet resolved.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 21:11:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-x-why-is-quot-goto-was-interrupted-quot/m-p/1232457#M79346</guid>
      <dc:creator>GregoryBologna</dc:creator>
      <dc:date>2022-11-16T21:11:39Z</dc:date>
    </item>
  </channel>
</rss>

