<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Increasing selection tolerance in AGOL? in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/increasing-selection-tolerance-in-agol/m-p/509147#M13333</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: small;"&gt;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: small;"&gt;Will this solution listed &lt;A _jive_internal="true" data-containerid="2128" data-containertype="14" data-objectid="184829" data-objecttype="1" href="https://community.esri.com/thread/184829-increase-featurelayer-click-tolerance" style="color: #1155cc; background-color: transparent; border: 0px; font-weight: inherit; padding: 1px 0px 1px calc(12px + 0.35ex);" target="_blank"&gt;here&lt;/A&gt;&amp;nbsp;for increased click tolerance work in Web&amp;nbsp;App Builder (ArcGIS Online)? Or perhaps a newer solution exists?&amp;nbsp;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: small;"&gt;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: small;"&gt;We have valid feedback for a viewer here:&amp;nbsp;&lt;EM style="border: 0px; font-weight: inherit; font-size: 13px;"&gt;"&lt;STRONG style="border: 0px; font-weight: bold; font-size: 13px;"&gt;I am having a little trouble finding the right place to click to get the info box to pop up on some projects.&amp;nbsp; Can you add a selection feature to make that easier?&lt;/STRONG&gt;"&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: small;"&gt;&lt;EM style="border: 0px; font-weight: inherit; font-size: 13px;"&gt;&amp;nbsp;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: small;"&gt;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.&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: small;"&gt;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: small;"&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;EM&gt;In 3.x, you can do this by overriding the "_calculateClickTolerance" function of the map's popupManager property. For example:&lt;/EM&gt;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;map&lt;SPAN style="color: #999999; border: 0px; font-weight: inherit;"&gt;.&lt;/SPAN&gt;popupManager&lt;SPAN style="color: #999999; border: 0px; font-weight: inherit;"&gt;.&lt;/SPAN&gt;_calculateClickTolerance &lt;SPAN style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #0077aa; border: 0px; font-weight: inherit;"&gt;function&lt;/SPAN&gt;&lt;SPAN style="color: #999999; border: 0px; font-weight: inherit;"&gt;(&lt;/SPAN&gt;graphicsLayers&lt;SPAN style="color: #999999; border: 0px; font-weight: inherit;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #999999; border: 0px; font-weight: inherit;"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0077aa; border: 0px; font-weight: inherit;"&gt;return&lt;/SPAN&gt; &lt;SPAN style="color: #990000; border: 0px; font-weight: inherit;"&gt;10&lt;/SPAN&gt;&lt;SPAN style="color: #999999; border: 0px; font-weight: inherit;"&gt;;&lt;/SPAN&gt;
&lt;SPAN style="color: #999999; border: 0px; font-weight: inherit;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #999999; border: 0px; font-weight: inherit;"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;EM&gt;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).&lt;/EM&gt;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="color: #242729; background-color: #f9f8f6;"&gt;I've read through&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-online/data-management/your-arcade-questions-answered/" rel="nofollow noreferrer noopener" style="color: #1d4d5c; background-color: #f9f8f6; border: 0px; text-decoration: underline;" target="_blank"&gt;Your Arcade Questions Answered&lt;/A&gt;&lt;SPAN style="color: #242729; background-color: #f9f8f6;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;but have not found a solution yet.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;p.s.&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;In ArcGIS Desktop&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;under Selection -&amp;gt; Selection Options -&amp;gt; Selection tolerance&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;exists and wondering where the similar option is in AGOL (WAB) for configure popups.&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 22:18:40 GMT</pubDate>
    <dc:creator>PRuss</dc:creator>
    <dc:date>2021-12-11T22:18:40Z</dc:date>
    <item>
      <title>Increasing selection tolerance in AGOL?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/increasing-selection-tolerance-in-agol/m-p/509147#M13333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: small;"&gt;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: small;"&gt;Will this solution listed &lt;A _jive_internal="true" data-containerid="2128" data-containertype="14" data-objectid="184829" data-objecttype="1" href="https://community.esri.com/thread/184829-increase-featurelayer-click-tolerance" style="color: #1155cc; background-color: transparent; border: 0px; font-weight: inherit; padding: 1px 0px 1px calc(12px + 0.35ex);" target="_blank"&gt;here&lt;/A&gt;&amp;nbsp;for increased click tolerance work in Web&amp;nbsp;App Builder (ArcGIS Online)? Or perhaps a newer solution exists?&amp;nbsp;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: small;"&gt;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: small;"&gt;We have valid feedback for a viewer here:&amp;nbsp;&lt;EM style="border: 0px; font-weight: inherit; font-size: 13px;"&gt;"&lt;STRONG style="border: 0px; font-weight: bold; font-size: 13px;"&gt;I am having a little trouble finding the right place to click to get the info box to pop up on some projects.&amp;nbsp; Can you add a selection feature to make that easier?&lt;/STRONG&gt;"&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: small;"&gt;&lt;EM style="border: 0px; font-weight: inherit; font-size: 13px;"&gt;&amp;nbsp;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: small;"&gt;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.&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: small;"&gt;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; border: 0px; font-size: small;"&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;EM&gt;In 3.x, you can do this by overriding the "_calculateClickTolerance" function of the map's popupManager property. For example:&lt;/EM&gt;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;map&lt;SPAN style="color: #999999; border: 0px; font-weight: inherit;"&gt;.&lt;/SPAN&gt;popupManager&lt;SPAN style="color: #999999; border: 0px; font-weight: inherit;"&gt;.&lt;/SPAN&gt;_calculateClickTolerance &lt;SPAN style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #0077aa; border: 0px; font-weight: inherit;"&gt;function&lt;/SPAN&gt;&lt;SPAN style="color: #999999; border: 0px; font-weight: inherit;"&gt;(&lt;/SPAN&gt;graphicsLayers&lt;SPAN style="color: #999999; border: 0px; font-weight: inherit;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #999999; border: 0px; font-weight: inherit;"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0077aa; border: 0px; font-weight: inherit;"&gt;return&lt;/SPAN&gt; &lt;SPAN style="color: #990000; border: 0px; font-weight: inherit;"&gt;10&lt;/SPAN&gt;&lt;SPAN style="color: #999999; border: 0px; font-weight: inherit;"&gt;;&lt;/SPAN&gt;
&lt;SPAN style="color: #999999; border: 0px; font-weight: inherit;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #999999; border: 0px; font-weight: inherit;"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;EM&gt;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).&lt;/EM&gt;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="color: #242729; background-color: #f9f8f6;"&gt;I've read through&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-online/data-management/your-arcade-questions-answered/" rel="nofollow noreferrer noopener" style="color: #1d4d5c; background-color: #f9f8f6; border: 0px; text-decoration: underline;" target="_blank"&gt;Your Arcade Questions Answered&lt;/A&gt;&lt;SPAN style="color: #242729; background-color: #f9f8f6;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;but have not found a solution yet.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;p.s.&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;In ArcGIS Desktop&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;under Selection -&amp;gt; Selection Options -&amp;gt; Selection tolerance&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;exists and wondering where the similar option is in AGOL (WAB) for configure popups.&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:18:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/increasing-selection-tolerance-in-agol/m-p/509147#M13333</guid>
      <dc:creator>PRuss</dc:creator>
      <dc:date>2021-12-11T22:18:40Z</dc:date>
    </item>
  </channel>
</rss>

