Point within polygon

Discussion created by udbk on Dec 10, 2012
Latest reply on Dec 11, 2012 by JGravois-esristaff
Dear All,

I have a polygon layer (State Layer), I have added this layer to my map using ArcGISDynamicMapServiceLyaer. What I want is, if user click within polygon(State), I need to return true, else return false. Based on the return value I need to do few more operations.

Can anyone provide me an exaple, how to do this.