Change text of Measurement Widget

213
1
03-14-2022 01:21 PM
BrentGrossman
New Contributor III

Is it possible to change the text in the measurement widget (https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Measurement.html):

BrentGrossman_1-1647289039154.png

I'm trying to avoid using a trash can button (ironically, to avoid screen clutter :), so I'd like to add text indicating that a measurement can be removed by again clicking the 1 button that activates the widget.

0 Kudos
1 Reply
Noah-Sager
Esri Regular Contributor

Hi @BrentGrossman. While it should be straightforward to hide this text via CSS, modifying it would be tricky. However, we are working on enhancements in this area, and should have a better story at a future release. Hope this helps.