So I have a layer with contains points (yay)I currently haveprivate function findAddressPoint(geom:Geometry):void {
var q:Query = new Query();
q.geometry = geom;
q.spatialRelationship = Query.SPATIAL_REL_CONTAINS;
q.returnGeometry = true;
q.outFields = ["*"];
var task:QueryTask = new QueryTask();
task.url = "http://svr-met-gisdev1:8399/arcgis/rest/services/M4/GIS_MasterMap/MapServer/1";
task.execute(q, new AsyncResponder(onResult, onFail));
}
but no matter how acuratly i click i never get any results back, what am i doing wrongit should be a point - point comparison (does geomA == geomB)is there a nice quick easy way to add a 5px tolerance around the point thats clicked?