How can I export data using Sketch Tool Widget I see it creates a feature but I want to extract the points it's covering.
The reason I want to use this instead of "Features by Geometry" because I can create multiple polygon, rectangle, circle at a time.
I want to be able to select that data/points its covering on a csv layer and extract/export them as CSV.
Below code just creates the tool and you can also see in the image that it selected a feature but that is not getting selected from a csv reference it's on the map
const sketch = new Sketch({
layer: layer,
view: view
});
view.ui.add(sketch, "top-right");
![](/legacyfs/online/472480_feature.jpg)