I have a graphic layer with two points on a graphic layer, zoomed out such that they overlap. I have a Popup as the info window for the map with paging controls enabled.
My expectation is that when I click on the point, I would get 2 in the paging control. But I cannot get it to work, I just get the popup for the clicked point, without the paging for the other point.
I would appreciate any feedback. Code is attached
Hi Upcake,
This blog is a little dated, but is still helpful:
Find graphics under a mouse click with the ArcGIS API for JavaScript | ArcGIS Blog
Another option you could use is the IdentifyTask. This class uses the IdentifyParameters class, which allows you to specify a tolerance. Here is an example that demonstrates this.