<?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: Setting duration and easing of view.animateTo() in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/setting-duration-and-easing-of-view-animateto/m-p/39050#M3335</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like the easing can only be set on the animateTo for the MapView.&amp;nbsp; It would be nice to also be able to set it, along with the duration for the animateTo on the SceneView&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/beta/api-reference/esri-views-MapView.html#animateTo" title="https://developers.arcgis.com/javascript/beta/api-reference/esri-views-MapView.html#animateTo"&gt;MapView | API Reference | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Mar 2016 20:15:37 GMT</pubDate>
    <dc:creator>MarcBate</dc:creator>
    <dc:date>2016-03-15T20:15:37Z</dc:date>
    <item>
      <title>Setting duration and easing of view.animateTo()</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/setting-duration-and-easing-of-view-animateto/m-p/39049#M3334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am currently working on a side-project using the ArcGIS JavaScript beta API. With this API I have set up a 3D SceneView over which I animate the view's camera, using the 'animateTo()' method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The kind of fly-by effect this creates looks really great, but I'd like to be able to customize the animation a bit more. For instance, I would like to set the animation's duration to a higher number of seconds and I'd like to set the easing of the animation to linear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dojo easing reference: &lt;A href="https://dojotoolkit.org/reference-guide/1.10/dojo/fx/easing.html" title="https://dojotoolkit.org/reference-guide/1.10/dojo/fx/easing.html"&gt;dojo/fx/easing — The Dojo Toolkit - Reference Guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible in the current state of the JavaScript beta API (beta 3)? How would I go about implementing this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My animation code:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;view.animateTo({&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; position: [ point.longitude, point.latitude, &lt;SPAN style="color: #6897bb;"&gt;10 &lt;/SPAN&gt;],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; heading : bearing,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; tilt : &lt;SPAN style="color: #6897bb;"&gt;80&lt;BR /&gt;&lt;/SPAN&gt;});&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 11:00:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/setting-duration-and-easing-of-view-animateto/m-p/39049#M3334</guid>
      <dc:creator>StefanBoonstra</dc:creator>
      <dc:date>2016-03-14T11:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Setting duration and easing of view.animateTo()</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/setting-duration-and-easing-of-view-animateto/m-p/39050#M3335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like the easing can only be set on the animateTo for the MapView.&amp;nbsp; It would be nice to also be able to set it, along with the duration for the animateTo on the SceneView&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/beta/api-reference/esri-views-MapView.html#animateTo" title="https://developers.arcgis.com/javascript/beta/api-reference/esri-views-MapView.html#animateTo"&gt;MapView | API Reference | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 20:15:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/setting-duration-and-easing-of-view-animateto/m-p/39050#M3335</guid>
      <dc:creator>MarcBate</dc:creator>
      <dc:date>2016-03-15T20:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Setting duration and easing of view.animateTo()</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/setting-duration-and-easing-of-view-animateto/m-p/39051#M3336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The options between MapView and SceneView are not the same for animateTo() in beta3. This will change since we're still refining the design for animateTo(). We are trying to keep the two methods as consistent as possible, but be aware that it does not mean the options for animateTo() will be equal in MapView and SceneView when we release 4.0 final. This may change in a future release after 4.0, however.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 18:42:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/setting-duration-and-easing-of-view-animateto/m-p/39051#M3336</guid>
      <dc:creator>KristianEkenes</dc:creator>
      <dc:date>2016-03-23T18:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Setting duration and easing of view.animateTo()</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/setting-duration-and-easing-of-view-animateto/m-p/39052#M3337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see also &lt;A href="http://odoe.net/blog/fun-with-accessors-in-arcgis-js-4beta1/" title="http://odoe.net/blog/fun-with-accessors-in-arcgis-js-4beta1/"&gt;Fun with Accessors in ArcGIS JS 4.0beta1 - odoenet&lt;/A&gt; &lt;/P&gt;&lt;P&gt;we have implemented it in 'About us' in &lt;A href="https://www.studioat.it/dove-siamo" title="https://www.studioat.it/dove-siamo"&gt;Studio A&amp;amp;T&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 10:11:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/setting-duration-and-easing-of-view-animateto/m-p/39052#M3337</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2016-04-01T10:11:21Z</dc:date>
    </item>
  </channel>
</rss>

