<?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: Query Feature Layer and Highlight the Feature in .NET and the Esri JavaScript API Questions</title>
    <link>https://community.esri.com/t5/net-and-the-esri-javascript-api-questions/query-feature-layer-and-highlight-the-feature/m-p/865295#M79</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pavel,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could not figure it out myself but I believe if you take a look at this sample code:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/highlight-features-by-geometry/index.html"&gt;https://developers.arcgis.com/javascript/latest/sample-code/highlight-features-by-geometry/index.html&lt;/A&gt;&amp;nbsp;you might find that the answer may be to highlight the result (the feature) in the view.goTo() and to get rid of the view.popup.open.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Jun 2019 17:47:07 GMT</pubDate>
    <dc:creator>DavidWilson3</dc:creator>
    <dc:date>2019-06-14T17:47:07Z</dc:date>
    <item>
      <title>Query Feature Layer and Highlight the Feature</title>
      <link>https://community.esri.com/t5/net-and-the-esri-javascript-api-questions/query-feature-layer-and-highlight-the-feature/m-p/865294#M78</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I am having issues adjusting an ESRI example script&amp;nbsp;(see the image below and the link below) in the way, that after the user clicks on one of the census tracts the related feature (census tract) would be highlighted &lt;STRONG&gt;but no popup would be shown.&amp;nbsp;&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Popup opens when view.goTo() is called:&lt;/P&gt;&lt;P&gt;view.goTo(result.geometry.extent.expand(2)).then(function() {&lt;BR /&gt; &lt;STRONG&gt;view.popup.open({&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; features: [result],&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; location: result.geometry.centroid&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; });&lt;/STRONG&gt;&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ESRI example code: Query features from a FeatureLayerView:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="example Esri: https://developers.arcgis.com/javascript/latest/sample-code/featurelayerview-query/index.html" class="image-1 jive-image" height="342" src="https://community.esri.com/legacyfs/online/445083_nn.jpg" width="468" /&gt;&lt;/P&gt;&lt;P&gt;Link:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/featurelayerview-query/index.html"&gt;https://developers.arcgis.com/javascript/latest/sample-code/featurelayerview-query/index.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;Pavel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Apr 2019 09:49:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-and-the-esri-javascript-api-questions/query-feature-layer-and-highlight-the-feature/m-p/865294#M78</guid>
      <dc:creator>PavelK1</dc:creator>
      <dc:date>2019-04-27T09:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Query Feature Layer and Highlight the Feature</title>
      <link>https://community.esri.com/t5/net-and-the-esri-javascript-api-questions/query-feature-layer-and-highlight-the-feature/m-p/865295#M79</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pavel,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could not figure it out myself but I believe if you take a look at this sample code:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/highlight-features-by-geometry/index.html"&gt;https://developers.arcgis.com/javascript/latest/sample-code/highlight-features-by-geometry/index.html&lt;/A&gt;&amp;nbsp;you might find that the answer may be to highlight the result (the feature) in the view.goTo() and to get rid of the view.popup.open.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2019 17:47:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-and-the-esri-javascript-api-questions/query-feature-layer-and-highlight-the-feature/m-p/865295#M79</guid>
      <dc:creator>DavidWilson3</dc:creator>
      <dc:date>2019-06-14T17:47:07Z</dc:date>
    </item>
  </channel>
</rss>

