<?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: Track Widget Sandbox Code not working outside Sandbox in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/track-widget-sandbox-code-not-working-outside/m-p/256936#M23854</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jaydeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Strange I saved the file to a virtual directory on my webserver and used a https:// url for my webserver and it worked fine. Note. You can not use file://&amp;nbsp;url and make this work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 28 Mar 2020 16:50:23 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2020-03-28T16:50:23Z</dc:date>
    <item>
      <title>Track Widget Sandbox Code not working outside Sandbox</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/track-widget-sandbox-code-not-working-outside/m-p/256935#M23853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/widgets-track/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/widgets-track/index.html"&gt;Track widget simulation | ArcGIS API for JavaScript 4.14&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to write some code using the Track Widget functionality demonstrated in the Esri Sample above. It specifically uses an external js library to force a custom location for its geolocation service instead of the current location of the browser. I want to use this method to modify the sample code shown in the Track Widget simulation, however when I try to run the code outside of the sandbox, i keep getting an error in loading the custom js library. Error message listed below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6;" width="100%"&gt;&lt;THEAD&gt;&lt;TR style="background-color: #efefef;"&gt;&lt;TH&gt;Error in my browser's console:&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;geolocate.js:1&lt;/P&gt;&lt;P&gt;Failed to load resource: net::ERR_FILE_NOT_FOUND&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;dojo.js:24&lt;/P&gt;&lt;P&gt;Error: scriptError: //2gis.github.io/mock-geolocation/dist/geolocate.js&lt;BR /&gt; at q (dojo.js:5)&lt;BR /&gt; at HTMLScriptElement.&amp;lt;anonymous&amp;gt; (dojo.js:23)&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Running the demo in the sandbox works fine, but when I try to run it outside in a standalone html file, the demo code does not work at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Weird thing is that&amp;nbsp;I can open the &lt;A href="http://2gis.github.io/mock-geolocation/dist/geolocate.js"&gt;link &lt;/A&gt;to the file that the mock-geolocation file is stored in, but for some reason the script in the html cannot. Also even when I give it a modified url to the RAW location of the js library on GitHub, it then fails to recognize the functions of the library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help! Thank you&lt;/P&gt;&lt;P&gt;Jaydeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Mar 2020 00:37:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/track-widget-sandbox-code-not-working-outside/m-p/256935#M23853</guid>
      <dc:creator>JaydeepMistry1</dc:creator>
      <dc:date>2020-03-28T00:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Track Widget Sandbox Code not working outside Sandbox</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/track-widget-sandbox-code-not-working-outside/m-p/256936#M23854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jaydeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Strange I saved the file to a virtual directory on my webserver and used a https:// url for my webserver and it worked fine. Note. You can not use file://&amp;nbsp;url and make this work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Mar 2020 16:50:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/track-widget-sandbox-code-not-working-outside/m-p/256936#M23854</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-03-28T16:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Track Widget Sandbox Code not working outside Sandbox</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/track-widget-sandbox-code-not-working-outside/m-p/256937#M23855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes you are correct. I forgot to place the file into a webserver before viewing it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While I have your attention, I what I am trying to achieve are a few things if you know how to do them or could recommend any examples that do them:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Animate a point smoothly from one location to another&lt;/P&gt;&lt;P&gt;2. Have the camera follow the point smoothly as it is moving&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now in the Track Widget code, the geolocated point is moving instantly from one location to another, and I would like for that movement to be fluent. Also since the point is moving so instantly, the camera following the point is also forced to move quickly, I would like for both of their movements to be smooth. Do you know how to achieve that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jaydeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Mar 2020 17:44:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/track-widget-sandbox-code-not-working-outside/m-p/256937#M23855</guid>
      <dc:creator>JaydeepMistry1</dc:creator>
      <dc:date>2020-03-28T17:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Track Widget Sandbox Code not working outside Sandbox</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/track-widget-sandbox-code-not-working-outside/m-p/256938#M23856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jaydeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Animation is coming to the 4.x api but not here yet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Mar 2020 18:36:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/track-widget-sandbox-code-not-working-outside/m-p/256938#M23856</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-03-29T18:36:59Z</dc:date>
    </item>
  </channel>
</rss>

