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.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.