<?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 Re: Toggle NearMe Proximity Circle On and Off in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/toggle-nearme-proximity-circle-on-and-off/m-p/1501164#M13557</link>
    <description>&lt;P&gt;Jeffrey,&lt;/P&gt;&lt;P&gt;Thank you for the reply. Tweaking the sketch color doesn't really work for me in this requirement and I'll need to really understand the coding the opportunities you linked.&amp;nbsp; I though perhaps using the Swipe widget must provide an option so I'll continue to investigate that as well.&amp;nbsp; Thanks again,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jul 2024 17:39:38 GMT</pubDate>
    <dc:creator>GregReinecke</dc:creator>
    <dc:date>2024-07-03T17:39:38Z</dc:date>
    <item>
      <title>Toggle NearMe Proximity Circle On and Off</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/toggle-nearme-proximity-circle-on-and-off/m-p/1500368#M13516</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have been using the NearMe widget and it works great.&amp;nbsp; Once the distance is set and the zone produced I'd like to be able to simply toggle the shaded circle on and off.&amp;nbsp; Is there a way? I thought perhaps a custom toggle button but I don't what layer or id or whatever the proximity circle feature is stored as.&amp;nbsp; Perhaps someone has an innovative idea.&lt;/P&gt;&lt;P&gt;.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ProxZone.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/108560i71EC9B02A854EA84/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ProxZone.png" alt="ProxZone.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;GRMapper&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 15:24:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/toggle-nearme-proximity-circle-on-and-off/m-p/1500368#M13516</guid>
      <dc:creator>GregReinecke</dc:creator>
      <dc:date>2024-07-02T15:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle NearMe Proximity Circle On and Off</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/toggle-nearme-proximity-circle-on-and-off/m-p/1500588#M13524</link>
      <description>&lt;P&gt;There isn't a built-in way for the user to toggle the search area. Nor is there a way for the designer to completely turn-off the circle. The closest option I have found is to set your Sketch Color to transparent white. You'll need to go to custom colors and set it to 255,255,255,0.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JeffreyThompson2_0-1719951231054.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/108604iABA2FBB62FB4B468/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JeffreyThompson2_0-1719951231054.png" alt="JeffreyThompson2_0-1719951231054.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Going into custom development options, you should be able to find the id of the graphic by console logging allLayerViews. I am pretty sure that it will be project specific, if not completely random.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#allLayerViews" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#allLayerViews&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This reactiveUtils example will probably be useful.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;// Watching for changes within a Collection
reactiveUtils.watch(
 () =&amp;gt; view.map.allLayers.length,
 () =&amp;gt; {
   console.log(`Layer collection length changed: ${view.map.allLayers.length}`);
 });&lt;/LI-CODE&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html#watch" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html#watch&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 20:23:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/toggle-nearme-proximity-circle-on-and-off/m-p/1500588#M13524</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2024-07-02T20:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle NearMe Proximity Circle On and Off</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/toggle-nearme-proximity-circle-on-and-off/m-p/1501164#M13557</link>
      <description>&lt;P&gt;Jeffrey,&lt;/P&gt;&lt;P&gt;Thank you for the reply. Tweaking the sketch color doesn't really work for me in this requirement and I'll need to really understand the coding the opportunities you linked.&amp;nbsp; I though perhaps using the Swipe widget must provide an option so I'll continue to investigate that as well.&amp;nbsp; Thanks again,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 17:39:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/toggle-nearme-proximity-circle-on-and-off/m-p/1501164#M13557</guid>
      <dc:creator>GregReinecke</dc:creator>
      <dc:date>2024-07-03T17:39:38Z</dc:date>
    </item>
  </channel>
</rss>

