<?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: ArcGIS JS API 4 Locate widget like WebAppBuilder in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-locate-widget-like-webappbuilder/m-p/1192503#M77931</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/7384"&gt;@ReneRubalcava&lt;/a&gt;&amp;nbsp;Thank you for the reply. The Mapbox GL JS one also uses the geolocation API and is far more accurate. I have tested both of them on the same device, same browser, same location. The Mapbox one does not have the issues the ESRI one does. I invite you to walk around outside and use the Mapbox one vs the Esri widget and report the results.&amp;nbsp;&lt;A href="https://docs.mapbox.com/mapbox-gl-js/example/locate-user/" target="_blank" rel="noopener"&gt;https://docs.mapbox.com/mapbox-gl-js/example/locate-user/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am looking for a solution that would behave more like the Mapbox GL JS example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Jul 2022 15:42:00 GMT</pubDate>
    <dc:creator>BobCowling2</dc:creator>
    <dc:date>2022-07-15T15:42:00Z</dc:date>
    <item>
      <title>ArcGIS JS API 4 Locate widget like WebAppBuilder</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-locate-widget-like-webappbuilder/m-p/1191291#M77891</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am wondering how to get the geolocation icon in the ArcGIS JS API 4 locate widget to look and behave more like the My Location Widget from the WebAppBuilder on a mobile device. I am aware that WAB uses JS API v3 but I would think it must be possible to get similar look and&amp;nbsp; behavior in v4. The WAB widget on a mobile device has an accuracy buffer and the flashlight that shows the direction you are facing. I also tend to believe in my own comparison using the same device at the same location, the GPS accuracy of the My Location Widget in the WAB was better than the location widget in ArcGIS JS 4 API. Do they both not use HTML5 Geolocation? You can see in the screenshots below the visual differences between the two widgets.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BobCowling2_0-1657557154439.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45669i19DB883919A65C54/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BobCowling2_0-1657557154439.png" alt="BobCowling2_0-1657557154439.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BobCowling2_1-1657557198746.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45670iE980F5551D72562B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BobCowling2_1-1657557198746.png" alt="BobCowling2_1-1657557198746.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 16:35:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-locate-widget-like-webappbuilder/m-p/1191291#M77891</guid>
      <dc:creator>BobCowling2</dc:creator>
      <dc:date>2022-07-11T16:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS JS API 4 Locate widget like WebAppBuilder</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-locate-widget-like-webappbuilder/m-p/1191312#M77892</link>
      <description>&lt;P&gt;4x does use the geolocation api, we just don't have the accuracy symbology. You can add it though with the info from the widget. Here's a sample.&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/odoe/pen/zYpmEMB?editors=1000" target="_blank"&gt;https://codepen.io/odoe/pen/zYpmEMB?editors=1000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can even add a line or polygon for the heading from the widget info.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 17:48:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-locate-widget-like-webappbuilder/m-p/1191312#M77892</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2022-07-11T17:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS JS API 4 Locate widget like WebAppBuilder</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-locate-widget-like-webappbuilder/m-p/1191316#M77895</link>
      <description>&lt;P&gt;Thank you for the codepen. I do appreciate that. I am more interested in the compass direction symbology. If this is not available, would ESRI be willing to provide a working example of this functionality on ArcGIS JS v4? I understand I can do this myself with the heading information but it would be nice to have a working example with the correct symbology. Other mapping platforms such as Mapbox have these features available on their widgets.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 18:03:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-locate-widget-like-webappbuilder/m-p/1191316#M77895</guid>
      <dc:creator>BobCowling2</dc:creator>
      <dc:date>2022-07-11T18:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS JS API 4 Locate widget like WebAppBuilder</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-locate-widget-like-webappbuilder/m-p/1192487#M77927</link>
      <description>&lt;P&gt;Still hoping to get a response on this. The accuracy of the track widget is terrible. There are inaccuracies of over 100 feet at times. I have seen others complain about this on here and they received no response from ESRI either. I compared the track widget with the Geolocation Widget on Mapbox GL JS and the Mapbox one has nearly my exact location at all times and follows me around perfectly when I am walking. The ESRI widget GPS point bounces all over and is in the incorrect location 98% of the time. What are the settings that can be improved here to make this work better for a web field application? Also, is there an example that can be provided on how to add a compass heading arrow to the GPS blue dot? Thank you.&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/7384"&gt;@ReneRubalcava&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/180"&gt;@AndyGup&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 15:26:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-locate-widget-like-webappbuilder/m-p/1192487#M77927</guid>
      <dc:creator>BobCowling2</dc:creator>
      <dc:date>2022-07-15T15:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS JS API 4 Locate widget like WebAppBuilder</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-locate-widget-like-webappbuilder/m-p/1192498#M77930</link>
      <description>&lt;P&gt;The Locate widget uses the geolocation api of the browser, so it's completely device dependent at that point. You can pass geolocation options to modify the max age and timeout if you like.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Track.html#geolocationOptions" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Track.html#geolocationOptions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We don't have an example on hand showing the heading, but you can update the graphic of the Track widget to show an arrow based on the heading, you can even change it based on other results of the geolocation api like speed and altitude.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Track.html#graphic" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Track.html#graphic&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 15:35:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-locate-widget-like-webappbuilder/m-p/1192498#M77930</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2022-07-15T15:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS JS API 4 Locate widget like WebAppBuilder</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-locate-widget-like-webappbuilder/m-p/1192503#M77931</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/7384"&gt;@ReneRubalcava&lt;/a&gt;&amp;nbsp;Thank you for the reply. The Mapbox GL JS one also uses the geolocation API and is far more accurate. I have tested both of them on the same device, same browser, same location. The Mapbox one does not have the issues the ESRI one does. I invite you to walk around outside and use the Mapbox one vs the Esri widget and report the results.&amp;nbsp;&lt;A href="https://docs.mapbox.com/mapbox-gl-js/example/locate-user/" target="_blank" rel="noopener"&gt;https://docs.mapbox.com/mapbox-gl-js/example/locate-user/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am looking for a solution that would behave more like the Mapbox GL JS example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 15:42:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-locate-widget-like-webappbuilder/m-p/1192503#M77931</guid>
      <dc:creator>BobCowling2</dc:creator>
      <dc:date>2022-07-15T15:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS JS API 4 Locate widget like WebAppBuilder</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-locate-widget-like-webappbuilder/m-p/1192620#M77941</link>
      <description>&lt;P&gt;Hi Bob, it seems like this is a duplicate post. let's move the accuracy discussion to this other thread =&amp;gt;&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-api-for-javascript-questions/poor-accuracy-of-locate-widget/m-p/1192491#M77928" target="_blank"&gt;https://community.esri.com/t5/arcgis-api-for-javascript-questions/poor-accuracy-of-locate-widget/m-p/1192491#M77928&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 21:55:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-locate-widget-like-webappbuilder/m-p/1192620#M77941</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2022-07-15T21:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS JS API 4 Locate widget like WebAppBuilder</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-locate-widget-like-webappbuilder/m-p/1193685#M77981</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/564347"&gt;@BobCowling2&lt;/a&gt;&amp;nbsp; quick update on your original posting above, I've created an enhancement request to add an accuracy circle and compass heading symbol to the Track Widget.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 21:27:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-locate-widget-like-webappbuilder/m-p/1193685#M77981</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2022-07-19T21:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS JS API 4 Locate widget like WebAppBuilder</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-locate-widget-like-webappbuilder/m-p/1193698#M77982</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/180"&gt;@AndyGup&lt;/a&gt;&amp;nbsp;Great. Thanks a lot! Definitely looking forward to these features.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 21:49:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-locate-widget-like-webappbuilder/m-p/1193698#M77982</guid>
      <dc:creator>BobCowling2</dc:creator>
      <dc:date>2022-07-19T21:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS JS API 4 Locate widget like WebAppBuilder</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-locate-widget-like-webappbuilder/m-p/1261381#M80371</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/180"&gt;@AndyGup&lt;/a&gt;&amp;nbsp;is anything official on if these features will be available and when? Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 13:51:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-locate-widget-like-webappbuilder/m-p/1261381#M80371</guid>
      <dc:creator>BobCowling2</dc:creator>
      <dc:date>2023-02-24T13:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS JS API 4 Locate widget like WebAppBuilder</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-locate-widget-like-webappbuilder/m-p/1262002#M80390</link>
      <description>&lt;P&gt;Hi Bob, it's in the queue and we've done some of the groundwork for it. Unfortunately, we don't have an ETA at this time.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 14:47:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-locate-widget-like-webappbuilder/m-p/1262002#M80390</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2023-02-27T14:47:32Z</dc:date>
    </item>
  </channel>
</rss>

