Hi
I am using SketchViewModel to draw some graphics. I want to change the painting symbol for line drawing while drawing. something like activeFillSymbol but for polylines. https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html#activeFillSymbol
Thanks
I think you can use a SimpleLineSymbol to change the color of polylines while drawing. You can check out this sample code here: https://codepen.io/AuraipornA/pen/xxYXMwr
I hope it helps.
- Auraiporn A.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.