Will this solution listed
here for increased click tolerance work in Web App Builder (ArcGIS Online)? Or perhaps a newer solution exists?
We have valid feedback for a viewer here: "I am having a little trouble finding the right place to click to get the info box to pop up on some projects. Can you add a selection feature to make that easier?"
Please see attached syntax error I am seeing when attempting to use the suggested code in AGOL's (within WAB) Configure Popups (does a JS to Arcade converter exist?) and the code copy / paste below.
In 3.x, you can do this by overriding the "_calculateClickTolerance" function of the map's popupManager property. For example:
map<SPAN style="color: #999999; border: 0px; font-weight: inherit;">.</SPAN>popupManager<SPAN style="color: #999999; border: 0px; font-weight: inherit;">.</SPAN>_calculateClickTolerance <SPAN style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit;">=</SPAN> <SPAN style="color: #0077aa; border: 0px; font-weight: inherit;">function</SPAN><SPAN style="color: #999999; border: 0px; font-weight: inherit;">(</SPAN>graphicsLayers<SPAN style="color: #999999; border: 0px; font-weight: inherit;">)</SPAN> <SPAN style="color: #999999; border: 0px; font-weight: inherit;">{</SPAN>
<SPAN style="color: #0077aa; border: 0px; font-weight: inherit;">return</SPAN> <SPAN style="color: #990000; border: 0px; font-weight: inherit;">10</SPAN><SPAN style="color: #999999; border: 0px; font-weight: inherit;">;</SPAN>
<SPAN style="color: #999999; border: 0px; font-weight: inherit;">}</SPAN><SPAN style="color: #999999; border: 0px; font-weight: inherit;">;</SPAN>
That is a very simplistic example, but you could implement whatever logic you want inside that function as long as you return an integer (preferably non-negative).
I've read through Your Arcade Questions Answered but have not found a solution yet.
p.s.
In ArcGIS Desktop
under Selection -> Selection Options -> Selection tolerance
exists and wondering where the similar option is in AGOL (WAB) for configure popups.