Hi, I would like to get the x,y from identified features when user clicks on map. I would also like to get the count of features found. Does anyone have an exmaple or resource to point me to? Thank you!
Here is code to identify features when user clicks...
I was able to figure out how to get the x,y by adding this code in the return dojo.map(response, function (result) {... var mp = result.feature.geometry alert(mp.x + " " + mp.y);
I still want to be able to county the number of features identified.
As you can see, it returns one feature (as a graphic). You've already discovered result.feature.geometry.x and result.feature.geometry.y, but it is all outlined in the documentation.