ganeshssac

Find Nearest features from an input location

Discussion created by ganeshssac on Feb 20, 2014
Latest reply on Feb 25, 2014 by ganeshssac
Hi Guys
I wanted to find the nearest features (it can be point, line and polygon layers) from an user input or search location and identify 5 nearest locations along with their distances.

Have anybody worked on this link below. If so, can anyone point me to the right sample application, please.

https://developers.arcgis.com/javascript/jsapi/findnearest-amd.html

https://developers.arcgis.com/rest/analysis/api-reference/find-nearest.htm

On the above link,  there is no sample application or code to show how this works.

Secondly, there should be a way to do without using FindNearest class, as this class has only been introduced with V3.7.
If this is the case, then how GIS developers across the world would have created application without this class.

I think, some one should really have an answer to this.

Regards
Ganesh

Outcomes