<?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: See buffer in Query widget? in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/see-buffer-in-query-widget/m-p/1698831#M23194</link>
    <description>&lt;P&gt;Yes, you are correct. The Selected Features From A Datasource option in the Query Widget does not show a visual representation of its buffer. There is one with the Drawn Graphic option.&lt;/P&gt;&lt;P&gt;You may consider using Near Me instead. There is a lot of overlap between Near Me and Query and Near Me shows its buffer area.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Apr 2026 19:38:03 GMT</pubDate>
    <dc:creator>JeffreyThompson2</dc:creator>
    <dc:date>2026-04-28T19:38:03Z</dc:date>
    <item>
      <title>See buffer in Query widget?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/see-buffer-in-query-widget/m-p/1698810#M23192</link>
      <description>&lt;P&gt;I am configuring a Query widget for our users, so that they can select taxlots from a feature layer, and then identify neighboring taxlots with a buffer (Intersect relationship). Is there a setting to make the buffer appear visually on top of the features? If not, perhaps I can submit this as an idea, as being able to visually see the buffer would help with our analysis considerably.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="The settings I have configured to perform this buffer. It is enabled, but doesn't appear on the map." style="width: 146px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/151687i0B1A125848DEF2FE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ncramer11_1-1777400020054.png" alt="The settings I have configured to perform this buffer. It is enabled, but doesn't appear on the map." /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;The settings I have configured to perform this buffer. It is enabled, but doesn't appear on the map.&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="The selected taxlot feature, and its neighbors. The buffer is performing correctly, but I have no way to see it." style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/151689iEA95F4D5E020CC4B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2026-04-28_11-07-52.PNG" alt="The selected taxlot feature, and its neighbors. The buffer is performing correctly, but I have no way to see it." /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;The selected taxlot feature, and its neighbors. The buffer is performing correctly, but I have no way to see it.&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2026 18:16:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/see-buffer-in-query-widget/m-p/1698810#M23192</guid>
      <dc:creator>ncramer11</dc:creator>
      <dc:date>2026-04-28T18:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: See buffer in Query widget?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/see-buffer-in-query-widget/m-p/1698831#M23194</link>
      <description>&lt;P&gt;Yes, you are correct. The Selected Features From A Datasource option in the Query Widget does not show a visual representation of its buffer. There is one with the Drawn Graphic option.&lt;/P&gt;&lt;P&gt;You may consider using Near Me instead. There is a lot of overlap between Near Me and Query and Near Me shows its buffer area.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2026 19:38:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/see-buffer-in-query-widget/m-p/1698831#M23194</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2026-04-28T19:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: See buffer in Query widget?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/see-buffer-in-query-widget/m-p/1699095#M23203</link>
      <description>&lt;P&gt;I submitted an idea for this last week!&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-experience-builder-ideas/visible-buffer-for-spatial-query-widget/idi-p/1698335" target="_blank"&gt;Visible Buffer for Spatial Query Widget - Esri Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2026 17:41:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/see-buffer-in-query-widget/m-p/1699095#M23203</guid>
      <dc:creator>Agrizz</dc:creator>
      <dc:date>2026-04-29T17:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: See buffer in Query widget?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/see-buffer-in-query-widget/m-p/1699190#M23209</link>
      <description>&lt;P&gt;I agree with&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/677423"&gt;@JeffreyThompson2&lt;/a&gt;&amp;nbsp;on this. Near me is what I use for my tax parcels for my end users.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2026 21:20:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/see-buffer-in-query-widget/m-p/1699190#M23209</guid>
      <dc:creator>JudithWammack</dc:creator>
      <dc:date>2026-04-29T21:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: See buffer in Query widget?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/see-buffer-in-query-widget/m-p/1702109#M23318</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Update --&lt;/STRONG&gt; Solved using Developer Edition!&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/677423"&gt;@JeffreyThompson2&lt;/a&gt;&amp;nbsp;you were right that the visual buffer was missing from the "Feature from Data Source" mode. With some help from Claude, I was able to modify the Query widget's&amp;nbsp;source code to add the buffer graphic. I'll try to explain as best I can.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The widget has two separate geometry components in src/runtime/:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;geometry-from-draw.tsx — already creates a buffer graphic on the map&lt;/LI&gt;&lt;LI&gt;geometry-from-ds.tsx — calculates the buffer for the query, but never visualizes it&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;geometry-from-ds.tsx needs the same buffer infrastructure as the draw component. The challenge is getting access to the map view. The draw component relies on spatialMapWidgetIds being configured, but using only the DS filter may never set that. The solution is MapViewManager, which tracks map views in the app without needing explicit widget configuration:&lt;/P&gt;&lt;PRE&gt;import { MapViewManager, type JimuMapView } from 'jimu-arcgis'

const ensureBufferLayer = React.useCallback(async (): Promise&amp;lt;boolean&amp;gt; =&amp;gt; {
  if (bufferLayerRef.current) return true
  const mvManager = MapViewManager.getInstance()
  const ids = mvManager.getAllJimuMapViewIds()
  if (!ids?.length) return false
  const jimuMapView: JimuMapView = mvManager.getJimuMapViewById(ids[0])
  if (!jimuMapView?.view) return false
  jimuMapViewRef.current = jimuMapView
  const GraphicsLayer = await loadArcGISJSAPIModule('esri/layers/GraphicsLayer')
  bufferLayerRef.current = new GraphicsLayer()
  jimuMapView.view.map.add(bufferLayerRef.current)
  return true
}, [])&lt;/PRE&gt;&lt;P&gt;It's also important that the component unions the selected geometries (in case multiple features are selected), buffers the result depending on the spatial reference (geodesic, WGS84/Web Mercator, or planar), and adds the graphic to the layer. The buffer layer is then cleaned up automatically when you switch filter modes or reset the widget.&lt;/P&gt;&lt;P&gt;It's a bit of an ad hoc solution, but it works!&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2026 17:06:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/see-buffer-in-query-widget/m-p/1702109#M23318</guid>
      <dc:creator>ncramer11</dc:creator>
      <dc:date>2026-05-14T17:06:56Z</dc:date>
    </item>
  </channel>
</rss>

