AnsweredAssumed Answered

Customize unit lists in the Measurement Widget v4.16

Question asked by ncbabel on Sep 28, 2020
Latest reply on Sep 30, 2020 by ncbabel

How do you customize the list of units in the Measurement Widget?  When I create the measurement widget (Measurement | ArcGIS API for JavaScript 4.16 ) it gives me access to the distance and area measurement widget tools.  While I can specify the arealUnit and linearUnit that should be used as the default for the tool I can't customize the list of units displayed.  If I were to create just an AreaMeasurement2D widget or LinearMeasurement2D widget they both have unitOptions property that let's me customize the list.  However, when I create just the Measurement widget it doesn't have a unitOptions, or something similar, property.  So how do I customize the list of units or is that not possible when using the Measurement widget?

Outcomes