AnsweredAssumed Answered

Point Inside a buffer

Question asked by Nadir_Hussain on Mar 24, 2016
Latest reply on Mar 24, 2016 by rscheitlin

               circle = new esri.geometry.Circle({center:clickedPt,geodesic: true,radius:parseInt($('#cmbBuffer').combobox('getText')),radiusUnit: strUnit});         

                query = new esri.tasks.Query();

                query.returnGeometry = true;

                query.outFields = ["*"];

                query.geometry = circle.getExtent();

                //query.spatialRelationship = esri.tasks.Query.SPATIAL_REL_CONTAINS;


the above code i am using to draw a circle and then get the feature from inside the buffer.It returns me some points.Some are inside and some are out side.i dont want point outside from buffer.what can be the reason.i am using bing map as a base map.that can one of the reason might be.please help.the result map is attached.


thanks in advance.