Instead of using a point for querying, create a small envelope around the point. Ie. this create a box 2x2 pixels around the click-point: new Envelope(p.X - map.Resolution, p.Y - map.Resolution,p.X + map.Resolution, p.Y + map.Resolution)and use this to query for your points.
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.