How to change the default color of the draw widget?

3508
10
Jump to solution
07-05-2016 07:45 AM
HuyVo1
by
New Contributor II


Hello everyone,

is there somewhere in the code that can change the default color of the draw widget from black to ,say , red?

0 Kudos
10 Replies
RobertScheitlin__GISP
MVP Emeritus

Brock,

   You would provide a SimpleFillSymbol class (yoursymbol = SimpleFillSymbol) to this line.

It would require you to add the SimpleFillSymbol to the widgets define array.

this.drawBox.setPolygonSymbol(yoursymbol);
0 Kudos