I have drawing tools (point, line and polygon) and I'm able to draw point, line and polygon features. Using the line and polygon tools I'm able to select existing features (from three feature layers). However I only want to select features using the polygon tools (graphic tools). Would anyone show me what I need to change in my code?
The second issue I have is that, I want to do Buffer based on a specified distance input and using any of the point, line and polygon tools, but it is not working. Is it possible to use the same graphic tools for selection drawing and buffering? If yes, can anyone please correct the codes?
Here is a sample data, which is similar with my data.