Hi All,
I have a custom widget (GP Task) in Web AppBuilder which uses Interactively Draw on the Map feature, as shown below, to select a location on the map. I am looking to customise this tool as below:
1. Since this widget is only relevant for a LOCATION (point), i want to hide other drawing features such as line, polygons, rectangles, etc.
2. At the moment, users can add multiple points on the map, but how can I restrict it to only SINGLE point at a time?
It sounds simple but couldn't figure out the way doing it. I would appreciate if anyone can enlighten me on this please.