Select to view content in your preferred language

ArcGIS JS API 4 Locate widget like WebAppBuilder

1649
10
07-11-2022 09:35 AM
BobCowling2
New Contributor III

Hello,

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  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. 

BobCowling2_0-1657557154439.png

BobCowling2_1-1657557198746.png

 

 

 

0 Kudos
10 Replies
AndyGup
Esri Regular Contributor

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.

0 Kudos