When the user clicks to open the Draw Widget, it loads the DrawBox from which the type of drawing can be selected, e.g., Polyline, Polygon and others. I want to only include Polyline and Polygon drawings and can do that in the Draw Widget Widget.html via:
<div data-dojo-attach-point="drawBox" data-dojo-type="jimu/dijit/DrawBox" data-dojo-props='types:["polyline", "polygon"],showClear:false' style="margin-top:5px;"></div>
But what I actually want is to skip the selection of Polyline and Polygon altogether and show all available Polyline and Polygon icons directly when opening the Draw Widget, i.e., user clicking it.
So far unable to fully understand the call structure in DrawBox and SymbolChoolser, where I believe the changes need to be made?
Many thanks in advance,
David