Dan, You will need to publish (or find one that is already) a map service that has polygons for all those features you are describing, i.e. a polygon boundary of manhatten, east side, etc. Thenyou will do a quey against that mapservice using the drawn polygons as the queries geomorty. Once the results are returned you will need to detrmine the smallest level (likely a switch or if else statement).
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.