Hello,
I am new to using Javascript and i'm trying to change this ESRI example to use a click event as input for the query rather than a view change.
The code i've been working on can be found here: https://codepen.io/bmittler/pen/jORYZOR
I seem to be have issues with the for loop, im guess that data isnt being fed into the for loop correctly but im not sure why.
Any help is appreciated.
Ben