I am looking to create a "Find Nearest" widget for the Web AppBuilder. I want an input location to be defined by creating a new incident when a user clicks on the map, like in the example in the link below.
However, I would also like the widget to have a drop down menu that allows the user to select between different layers within the app. This will give the user more than one feature in which they can find the nearest, therefore making the app more useful and powerful. Does anyone know of any examples that I could use or any info that may be of help?