Hello,
When using a drawing toolbar and am drawing a polyline, the default color of the line being drawn in the map is red. Once the drawing ends, I can change the line color for the graphic to anything I want. My question is how can I change the default color for the line as it is being drawn? I don't want a red line because I may be drawing over a red line that was previously created. Can that color be changed? I thought maybe I could add a SimpleLineSymbol to the Draw object, but I guess not.
Any thoughts?
Thanks - Peter
Solved! Go to Solution.
Peter,
You just set the lineSymbol property:
Draw | API Reference | ArcGIS API for JavaScript 3.19 | lineSymbol
Peter,
You just set the lineSymbol property:
Draw | API Reference | ArcGIS API for JavaScript 3.19 | lineSymbol
Robert - Nice. I didn't see that. I will try this tomorrow, but it looks like the answer. Thanks for the help.