AnsweredAssumed Answered

WAB Measure widget - show segment lengths

Question asked by smcshinsky Champion on Feb 5, 2015
Latest reply on Feb 17, 2015 by tsellste

I am wondering if there is a way to have the line segment length show up dynamically in the widget and on the map when using the measure widget for Web Appbuilder. I have some users who want to have the text on the map be dynamic as they draw and then once they click on the map to put a vertex down then the line segment text will show up on the map. Also a total length is needed.

 

Tim Witt made a javascript example here:

geonet: https://community.esri.com/people/timw1984/blog/2014/07/22/javascript-api-advanced-draw-widget#comments 

jsfiddle: http://jsfiddle.net/timw1984/4p7d241v/17/embedded/result/

 

This shows the line segment value but still does not add  the text to the map.

Outcomes