laptop and a wrench

Bug

The Track widget in ArcGIS API for JavaScript 4.24 does not use the default value for the geolocationOptions property as given in the API Reference.

Last Published: September 12, 2022 ArcGIS API for JavaScript
Bug ID Number BUG-000151138
SubmittedJuly 28, 2022
Last ModifiedJune 5, 2024
Applies toArcGIS API for JavaScript
Version found4.24
Operating SystemWindows OS
Operating System Version10.0 64 Bit
Version Fixed4.25
StatusFixed

Additional Information

The documentation is updated for ArcGIS API for JavaScript 4.25 to indicate the default value for the geolocationOptions property is null. Set these options per the Geolocation API specification. The documentation includes an example snippet.

Workaround

Manually set the geolocationOptions property to '{ maximumAge: 0, timeout: 15000, enableHighAccuracy: true }.'

Steps to Reproduce

Bug ID: BUG-000151138

Software:

  • ArcGIS API for JavaScript

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options