<?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 Stop MapView.LookAtAsync()  in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/stop-mapview-lookatasync/m-p/863432#M4861</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings,&amp;nbsp;&lt;/P&gt;&lt;P&gt;The behaviour i want to have is to go from one MapPoint to another . I found out about this method LookAtAsync()...&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to handle the interruption of this method in the middle of its execution, &amp;nbsp;At least, i'd like to know the camera view position when it is moving in realtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Today,&lt;/P&gt;&lt;P&gt;I tested that &amp;nbsp;:&amp;nbsp;&lt;/P&gt;&lt;P&gt;- if you click / zoom you interrupt the task&amp;nbsp;&lt;/P&gt;&lt;P&gt;- if you launch another MapView.LookAtAsync() , it will interrupt the task&amp;nbsp;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw that :&amp;nbsp;&lt;/P&gt;&lt;P&gt;- the camera view seems to freeze ?! this is like the camera is warping from&amp;nbsp;where it is to the point we want it looks at ? when i try to catch the camera viewpoint in the middle of the lookatasync , it sends me back to the original position . Since it is a task, i do understand this behaviour, but.. i'm trying to trace the camera position while it is moving...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was not able to :&amp;nbsp;&lt;/P&gt;&lt;P&gt;- find the tasks currently running on the active map , and list them ... ( the prosnippet have a page about tasks and listing tasks ) . the idea behind this is to kill the task/method..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you have encountered this problem, or you have any leads where to search , your story or your tips would be heartfully welcome !&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS : i do not know if the question was clear, or if you need some code, don't hesitate to tell me that too...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 May 2017 16:19:12 GMT</pubDate>
    <dc:creator>NicolasSeydoux</dc:creator>
    <dc:date>2017-05-09T16:19:12Z</dc:date>
    <item>
      <title>Stop MapView.LookAtAsync()</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/stop-mapview-lookatasync/m-p/863432#M4861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings,&amp;nbsp;&lt;/P&gt;&lt;P&gt;The behaviour i want to have is to go from one MapPoint to another . I found out about this method LookAtAsync()...&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to handle the interruption of this method in the middle of its execution, &amp;nbsp;At least, i'd like to know the camera view position when it is moving in realtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Today,&lt;/P&gt;&lt;P&gt;I tested that &amp;nbsp;:&amp;nbsp;&lt;/P&gt;&lt;P&gt;- if you click / zoom you interrupt the task&amp;nbsp;&lt;/P&gt;&lt;P&gt;- if you launch another MapView.LookAtAsync() , it will interrupt the task&amp;nbsp;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw that :&amp;nbsp;&lt;/P&gt;&lt;P&gt;- the camera view seems to freeze ?! this is like the camera is warping from&amp;nbsp;where it is to the point we want it looks at ? when i try to catch the camera viewpoint in the middle of the lookatasync , it sends me back to the original position . Since it is a task, i do understand this behaviour, but.. i'm trying to trace the camera position while it is moving...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was not able to :&amp;nbsp;&lt;/P&gt;&lt;P&gt;- find the tasks currently running on the active map , and list them ... ( the prosnippet have a page about tasks and listing tasks ) . the idea behind this is to kill the task/method..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you have encountered this problem, or you have any leads where to search , your story or your tips would be heartfully welcome !&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS : i do not know if the question was clear, or if you need some code, don't hesitate to tell me that too...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 May 2017 16:19:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/stop-mapview-lookatasync/m-p/863432#M4861</guid>
      <dc:creator>NicolasSeydoux</dc:creator>
      <dc:date>2017-05-09T16:19:12Z</dc:date>
    </item>
  </channel>
</rss>

