Our users would like to have the Draw widget's measurements displayed by default so they don't have to check the Show Measurements box each time. Is this possible in WAB 2.3.
I've tried the following change (highlighted) to apps\#\widgets\Draw\widget.html - line 24, but that didn't work. Can it be done? If it's not very easy to see, the modification was to add data-dojo-props="checked:true,value:'true' after type="checkbox".
That was based on a similar modification Robert Scheitlin, GISP described for having the Print widget Advanced Settings default set to preserve map extent.
Solved! Go to Solution.
Adam,
For a html input element like that you just need to add "checked"
<input data-dojo-attach-point="showMeasure" type="checkbox" checked/>
Adam,
For a html input element like that you just need to add "checked"
<input data-dojo-attach-point="showMeasure" type="checkbox" checked/>
That worked. Thanks for the help.