Hello,
I'm trying to retrieve the length of a path generated by the My Location widget in Experience Builder (standard edition) and report it in a Text widget.
Currently, using statistics within the dynamic content section of the Text widget, I am able to retrieve the Count of locations captured and multiply that by the streaming distance specified, but this isn't overly accurate.
If there's a way to retrieve the path length directly from the geometry using Arcade, I'd love to hear how.
Alternatively, I wouldn't mind being able to retrieve the average speed and start/end time from which I could calculate distance. I appear to have access to these properties in the dynamic content expression window but I cannot perform any calculations with them and the DateDiff function isn't available.