I'm looking for guidance on creating a custom widget. The desired functionality is as follows:
1) Draw a Line: Allow users to draw a polyline on the map.
2) Create a Buffer: Once a line is drawn, automatically create a buffer of 30 meters around it.
3) Feature Selection: Identify and retrieve all features from multiple feature layers that intersect or are within this 30-meter buffer.
Could anyone provide a sample widget or point me towards relevant resources