I am looking to customize my sketch widget in my Experience Builder developer edition. Currently, I have the sketch widget working properly in my experience builder environment, but the color of the graphics are defaulted to black.
I want the user to be able change the colors of the graphics from the GraphicsLayer through the Sketch Widget. In addition, I would like the user to be able to place text annotations onto the Web Map. The functionality should model the Draw Widget from WAB.
Please let me know if anyone knows how I can implement either of these concepts.
The latest Experience Builder updates include some DRAW widget, but it is currently only available for the ArcGIS Online version of Experience Builder , and not for the ExB developer Edition yet.
I would be interested to see your Sketch widget , to modify the symbology of the drawn polygons or lines, you will need to get the "renderer" , which is usually some JSON object with outline, color, thickness, etc.
If you can share your Sketch widget for Experience Builder, I'd be happy to see if we can help.