<?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 Highlight, instead of placing a PictureMarkerSymbol on, a queried feature when the page is refreshed in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-instead-of-placing-a-picturemarkersymbol/m-p/1527268#M85497</link>
    <description>&lt;P&gt;I have a FeatureLayer containing parcels that is displayed in a MapView. This FeatureLayer pulls its data from a specific URL. I have a LayerSearchSource that uses the same URL. When I enter a valid query for a parcel (ten digits), the red pin icon (PictureMarkerSymbol) that I assigned to the resultSymbol attribute of the LayerSearchSource appears on the queried parcel:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrewc213_0-1724689151980.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/113484i3FE2D33CAB94F278/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andrewc213_0-1724689151980.png" alt="andrewc213_0-1724689151980.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;andrewc213_0-1724689151980.png&lt;/span&gt;&lt;/span&gt;&lt;BR /&gt;An entered query will be appended to the URL of the webpage. When the page is refreshed, the MapView zooms back to the queried parcel and the red pin is dropped on in.&lt;/P&gt;&lt;P&gt;However, I want to use highlights instead of resultSymbols. In the above scenario, I would like automatic highlights to appear when a valid parcel is queried, and when the page is refreshed (with a valid query string in the URL), like so:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrewc213_1-1724689252561.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/113485i5AA11B098075AA5A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andrewc213_1-1724689252561.png" alt="andrewc213_1-1724689252561.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;andrewc213_1-1724689252561.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What is the best way to accomplish this? I'm using TypeScript ReactJS.&lt;/P&gt;</description>
    <pubDate>Mon, 26 Aug 2024 16:23:09 GMT</pubDate>
    <dc:creator>andrewc213</dc:creator>
    <dc:date>2024-08-26T16:23:09Z</dc:date>
    <item>
      <title>Highlight, instead of placing a PictureMarkerSymbol on, a queried feature when the page is refreshed</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-instead-of-placing-a-picturemarkersymbol/m-p/1527268#M85497</link>
      <description>&lt;P&gt;I have a FeatureLayer containing parcels that is displayed in a MapView. This FeatureLayer pulls its data from a specific URL. I have a LayerSearchSource that uses the same URL. When I enter a valid query for a parcel (ten digits), the red pin icon (PictureMarkerSymbol) that I assigned to the resultSymbol attribute of the LayerSearchSource appears on the queried parcel:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrewc213_0-1724689151980.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/113484i3FE2D33CAB94F278/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andrewc213_0-1724689151980.png" alt="andrewc213_0-1724689151980.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;andrewc213_0-1724689151980.png&lt;/span&gt;&lt;/span&gt;&lt;BR /&gt;An entered query will be appended to the URL of the webpage. When the page is refreshed, the MapView zooms back to the queried parcel and the red pin is dropped on in.&lt;/P&gt;&lt;P&gt;However, I want to use highlights instead of resultSymbols. In the above scenario, I would like automatic highlights to appear when a valid parcel is queried, and when the page is refreshed (with a valid query string in the URL), like so:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrewc213_1-1724689252561.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/113485i5AA11B098075AA5A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andrewc213_1-1724689252561.png" alt="andrewc213_1-1724689252561.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;andrewc213_1-1724689252561.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What is the best way to accomplish this? I'm using TypeScript ReactJS.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2024 16:23:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-instead-of-placing-a-picturemarkersymbol/m-p/1527268#M85497</guid>
      <dc:creator>andrewc213</dc:creator>
      <dc:date>2024-08-26T16:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight, instead of placing a PictureMarkerSymbol on, a queried feature when the page is refreshed</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-instead-of-placing-a-picturemarkersymbol/m-p/1527316#M85498</link>
      <description>&lt;P&gt;It seems the simplest thing to do, at least to accomplish this visually, would be to use a &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleFillSymbol.html" target="_self"&gt;SimpleFillSymbol&lt;/A&gt; with your &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-LayerSearchSource.html#resultSymbol" target="_self"&gt;resultSymbol&lt;/A&gt; instead of a PictureMarkerSymbol.&amp;nbsp; Would that not accomplish what you're trying to do?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2024 17:43:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-instead-of-placing-a-picturemarkersymbol/m-p/1527316#M85498</guid>
      <dc:creator>JoelBennett</dc:creator>
      <dc:date>2024-08-26T17:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight, instead of placing a PictureMarkerSymbol on, a queried feature when the page is refreshed</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-instead-of-placing-a-picturemarkersymbol/m-p/1527356#M85499</link>
      <description>&lt;P&gt;That's actually exactly what I was looking for; I wasn't aware of the existence of FillSymbols, and using the SimpleFillSymbol accomplishes exactly what I needed. Thanks a million.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2024 18:51:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-instead-of-placing-a-picturemarkersymbol/m-p/1527356#M85499</guid>
      <dc:creator>andrewc213</dc:creator>
      <dc:date>2024-08-26T18:51:04Z</dc:date>
    </item>
  </channel>
</rss>

