laptop and a wrench

Bug

When using elevationProfile.watch("input") or reactiveUtils for the input, the event does not fire when drawing a line is finished.

ArcGIS Maps SDK for JavaScript
Bug ID Number BUG-000170501
SubmittedSeptember 5, 2024
Last ModifiedFebruary 4, 2025
Applies toArcGIS Maps SDK for JavaScript
Version found4.30
Operating SystemWindows OS
Operating System Version11.0 64 bit
StatusAs Designed

Additional Information

Watching the input property of 'elevationProfile' does not fire an event when finishing a line drawing because a new Graphic would need to be generated each time a vertex is added, undone, or redone, which is avoided. The solution is to watch 'input.geometry'.

Workaround

When using elevationProfile.watch("input") or reactiveUtils, watch input.geometry to fire the event when finishing the line drawing.

Steps to Reproduce

Bug ID: BUG-000170501

Software:

  • ArcGIS Maps SDK 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