<?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: Highlighting Feature and Graphics Layer Issues in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlighting-feature-and-graphics-layer-issues/m-p/184704#M17161</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is this still a known issue for 2D in ESRI Javascript 4.14? I can't get graphics layer graphic to highlight.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Carol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Mar 2020 19:09:50 GMT</pubDate>
    <dc:creator>CarolZollweg</dc:creator>
    <dc:date>2020-03-16T19:09:50Z</dc:date>
    <item>
      <title>Highlighting Feature and Graphics Layer Issues</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlighting-feature-and-graphics-layer-issues/m-p/184699#M17156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having some issues with highlighting graphics in ArcGis API for JS version 4.10. I've got a few different data sets that I'm working with. One data set is coming directly from an arcgis map server. The others are coming from web services that just have a latitude and longitude.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the arcgis map server data set I am just passing the url as a property to a feature layer and using the highlight function of the feature layer view for mouse over highlights. This method works great and there is no flickering.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the other web services, I am looping through the results and building an array of graphics, which I then add to the layer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Using the highlight function on a GraphicsLayerView. This method doesn't do anything. I've tried adding an object id attribute to each graphic, but this still doesn't work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Using the highlight function&amp;nbsp;on a FeatureLayerView. This method works, but the highlight flickers when I move the mouse out of the graphic. I've noticed that this issue only occurs if you pass an array of graphics to the source property of the feature layer. The highlighting works without any flickering for the feature layer that is initialized with a url pointing to the arcgis map server. The actual highlighting logic is the same for these two feature layers, so I'm not sure why the one with a url is working and the one with an array of graphics has the flikering.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the pseudo code for the graphics layer method.&lt;/P&gt;&lt;DIV style="color: #d4d4d4; background-color: #1e1e1e; font-weight: normal; font-size: 14px;"&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #569cd6;"&gt;const&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;nonprofitsLayer&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #4ec9b0;"&gt;GraphicsLayer&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;({&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; id:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'nonprofitsLayer'&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; title:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'Nonprofits'&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; listMode:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'hide'&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #d4d4d4;"&gt;});&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="background-color: #1e1e1e; color: #6a9955; "&gt;//&amp;nbsp;data comes from a call to an external web service&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #d4d4d4; "&gt;&lt;SPAN style="color: #9cdcfe; background-color: #1e1e1e;"&gt;data&lt;/SPAN&gt;.&lt;SPAN style="color: #9cdcfe; background-color: #1e1e1e;"&gt;items&lt;/SPAN&gt;.&lt;SPAN style="color: #dcdcaa; background-color: #1e1e1e;"&gt;forEach&lt;/SPAN&gt;&lt;/SPAN&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;item, index&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;) =&amp;gt; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #569cd6;"&gt;&amp;nbsp; const&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;attributes&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; Name:&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;item&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;properties&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'Name'&lt;/SPAN&gt;&lt;SPAN&gt;],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; Address:&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;item&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;properties&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'Address'&lt;/SPAN&gt;&lt;SPAN&gt;],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; Zip_Postal_Code:&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;item&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;properties&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'Zip_Postal_Code'&lt;/SPAN&gt;&lt;SPAN&gt;],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; type:&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'nonprofit'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe; background-color: #1e1e1e;"&gt;ObjectID&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="background-color: #1e1e1e;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;SPAN style="color: #9cdcfe; background-color: #1e1e1e;"&gt;index&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #1e1e1e;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN&gt;&amp;nbsp; };&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #9cdcfe; background-color: #1e1e1e;"&gt;nonprofitsLayer&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe; background-color: #1e1e1e;"&gt;graphics&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;add&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(&lt;/SPAN&gt;&lt;DIV style="background-color: #1e1e1e; font-weight: normal;"&gt;&lt;DIV style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #569cd6;"&gt;&amp;nbsp; &amp;nbsp; new&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #4ec9b0;"&gt;Graphic({&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; geometry:&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;SPAN style="color: #4ec9b0; background-color: #1e1e1e;"&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; type:&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'point'&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4; "&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; longitude:&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;item.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;geometry.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;longitude&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4; "&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; latitude:&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;item.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;geometry.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;latitude&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4; "&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #3d3d3d;"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #d4d4d4; background-color: #1e1e1e;"&gt;},&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; symbol:&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;SPAN style="color: #4ec9b0; background-color: #1e1e1e;"&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; type:&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'simple-marker'&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4; "&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; style:&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'square'&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4; "&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; color:&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'#8b6573'&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4; "&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; outline:&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;SPAN style="color: #4ec9b0; background-color: #1e1e1e;"&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; color:&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN style="color: #d4d4d4;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #b5cea8;"&gt;68&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #b5cea8;"&gt;68&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #b5cea8;"&gt;68&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4; "&gt;],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; width:&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #b5cea8;"&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #3d3d3d;"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN style="color: #d4d4d4; background-color: #1e1e1e;"&gt;},&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #3d3d3d;"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN style="color: #d4d4d4; background-color: #1e1e1e;"&gt;},&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;attributes:&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;attributes,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #3d3d3d;"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&lt;SPAN style="color: #d4d4d4; background-color: #1e1e1e;"&gt;})&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #3d3d3d;"&gt;&lt;SPAN style="background-color: #1e1e1e; color: #d4d4d4; "&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #3d3d3d;"&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV style="background-color: #1e1e1e; font-weight: normal;"&gt;&lt;DIV style="color: #3d3d3d;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;view&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;on&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4; "&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'pointer-move',&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4; "&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;event&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4; "&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;=&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;SPAN style="color: #4ec9b0; background-color: #1e1e1e;"&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;view&lt;/SPAN&gt;.&lt;SPAN style="color: #dcdcaa;"&gt;hitTest&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4; "&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;event&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4; "&gt;)&lt;/SPAN&gt;.&lt;SPAN style="color: #dcdcaa;"&gt;then&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4; "&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;res&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4; "&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;=&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&amp;nbsp;&lt;SPAN style="color: #4ec9b0; background-color: #1e1e1e;"&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #3d3d3d;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN style="color: #569cd6;"&gt;let&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe; background-color: #1e1e1e;"&gt;graphic&amp;nbsp;&lt;SPAN style="color: #d4d4d4;"&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe; background-color: #1e1e1e;"&gt;res.results[0];&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #3d3d3d;"&gt;&lt;SPAN style="background-color: #1e1e1e; color: #9cdcfe; "&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;DIV style="color: #d4d4d4; font-weight: normal;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;let&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;highlight&lt;/SPAN&gt;&lt;SPAN style="background-color: #1e1e1e;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe; background-color: #1e1e1e;"&gt;global&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;SPAN style="color: #9cdcfe;"&gt;highlight&lt;/SPAN&gt;&lt;SPAN style="background-color: #1e1e1e;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #c586c0;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(&lt;SPAN style="color: #9cdcfe; background-color: #1e1e1e;"&gt;highlight&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;) {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe; background-color: #1e1e1e;"&gt;highlight&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;remove&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe; background-color: #1e1e1e;"&gt;global.&lt;SPAN style="color: #9cdcfe;"&gt;highlight&lt;/SPAN&gt;&lt;SPAN style="background-color: #1e1e1e;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;null&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV style="background-color: #1e1e1e; font-weight: normal;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;view&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;whenLayerView&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;graphic&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;layer&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;then&lt;/SPAN&gt;&lt;SPAN&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;layerView&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;=&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; global&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;highlight&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;layerView&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;highlight&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;graphic&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;});&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV style="color: #3d3d3d;"&gt;&amp;nbsp; &amp;nbsp;&lt;SPAN style="color: #d4d4d4; background-color: #1e1e1e;"&gt;});&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #3d3d3d;"&gt;&lt;SPAN style="background-color: #1e1e1e; color: #d4d4d4; "&gt;});&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Below is the pseudo code for the feature layer method.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV style="color: #d4d4d4; background-color: #1e1e1e; font-weight: normal; font-size: 14px;"&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="background-color: #1e1e1e; color: #6a9955; "&gt;//&amp;nbsp;data comes from a call to an external web service&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #d4d4d4; "&gt;&lt;SPAN style="color: #9cdcfe; background-color: #1e1e1e;"&gt;data&lt;/SPAN&gt;.&lt;SPAN style="color: #9cdcfe; background-color: #1e1e1e;"&gt;items&lt;/SPAN&gt;.&lt;SPAN style="color: #dcdcaa; background-color: #1e1e1e;"&gt;forEach&lt;/SPAN&gt;&lt;/SPAN&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;item, index&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;) =&amp;gt; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #569cd6;"&gt;&amp;nbsp; const&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;attributes&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; Name:&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;item&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;properties&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'Name'&lt;/SPAN&gt;&lt;SPAN&gt;],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; Address:&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;item&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;properties&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'Address'&lt;/SPAN&gt;&lt;SPAN&gt;],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; Zip_Postal_Code:&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;item&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;properties&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'Zip_Postal_Code'&lt;/SPAN&gt;&lt;SPAN&gt;],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; type:&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'nonprofit'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;SPAN style="color: #9cdcfe; background-color: #1e1e1e;"&gt;ObjectID&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="background-color: #1e1e1e;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;SPAN style="color: #9cdcfe; background-color: #1e1e1e;"&gt;index&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #1e1e1e;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN&gt;&amp;nbsp; };&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp; &lt;SPAN style="color: #569cd6;"&gt;let&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&lt;SPAN&gt; &lt;SPAN style="color: #9cdcfe; background-color: #1e1e1e;"&gt;features&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;= [],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #9cdcfe; background-color: #1e1e1e;"&gt;&amp;nbsp; features&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;push&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(&lt;/SPAN&gt;&lt;DIV style="background-color: #1e1e1e; font-weight: normal;"&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #569cd6;"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; geometry:&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; type:&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'point'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a9955;"&gt;// autocasts as new Point()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; longitude:&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;item&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;geometry&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;longitude&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; latitude:&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;item&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;geometry&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;latitude&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; },&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; symbol:&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; type:&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'simple-marker'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a9955;"&gt;// autocasts as new SimpleMarkerSymbol()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; style:&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'square'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; color:&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'#8b6573'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; outline:&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; color:&lt;/SPAN&gt;&lt;SPAN&gt; [&lt;/SPAN&gt;&lt;SPAN style="color: #b5cea8;"&gt;68&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #b5cea8;"&gt;68&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #b5cea8;"&gt;68&lt;/SPAN&gt;&lt;SPAN&gt;],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; width:&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #b5cea8;"&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; },&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;},&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;attributes:&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;attributes&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;});&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN&gt;});&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #569cd6;"&gt;const&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;nonprofitsLayer&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;new&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #4ec9b0;"&gt;FeatureLayer&lt;/SPAN&gt;&lt;SPAN&gt;({&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; id:&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'nonprofitsLayer'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; title:&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'Nonprofits'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; listMode:&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'hide'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #9cdcfe;"&gt;geometryType:&lt;/SPAN&gt;&lt;SPAN style="background-color: #1e1e1e;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'point'&lt;/SPAN&gt;&lt;SPAN style="background-color: #1e1e1e;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="background-color: #1e1e1e;"&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;source:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;SPAN style="color: #9cdcfe; background-color: #1e1e1e;"&gt;features&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="background-color: #1e1e1e; color: #d4d4d4; "&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #9cdcfe;"&gt;objectIdField:&lt;/SPAN&gt;&lt;SPAN style="background-color: #1e1e1e;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'ObjectID'&lt;/SPAN&gt;&lt;SPAN style="background-color: #1e1e1e;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="background-color: #1e1e1e; color: #d4d4d4; "&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;renderer:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; {&lt;/SPAN&gt;&lt;DIV style="color: #d4d4d4; background-color: #1e1e1e; font-weight: normal;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; type:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'simple'&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; symbol:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; type:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'simple-marker'&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; style:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'square'&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; color:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'red'&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp; &amp;nbsp; },&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp; },&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #9cdcfe; background-color: #1e1e1e;"&gt;fields: [&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="background-color: #1e1e1e; color: #9cdcfe; "&gt;&amp;nbsp; &amp;nbsp; { name:&amp;nbsp;&lt;SPAN style="color: #ce9178;"&gt;'Name'&lt;/SPAN&gt;, alias:&amp;nbsp;&lt;SPAN style="color: #ce9178;"&gt;'Name'&lt;/SPAN&gt;, type:&amp;nbsp;&lt;SPAN style="color: #ce9178;"&gt;'&lt;SPAN style="background-color: #1e1e1e;"&gt;string&lt;/SPAN&gt;'&lt;/SPAN&gt; },&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="background-color: #1e1e1e; color: #9cdcfe; "&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; { name:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'&lt;SPAN style="background-color: #1e1e1e;"&gt;Address&lt;/SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;alias:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'&lt;SPAN style="background-color: #1e1e1e;"&gt;Address&lt;/SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;type:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'&lt;SPAN style="background-color: #1e1e1e;"&gt;string&lt;/SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;},&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="background-color: #1e1e1e; color: #9cdcfe; "&gt;&lt;SPAN&gt;&lt;SPAN style="background-color: #1e1e1e;"&gt;&amp;nbsp; &amp;nbsp; { name:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'&lt;SPAN style="background-color: #1e1e1e;"&gt;Zip_Postal_Code&lt;/SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN style="background-color: #1e1e1e;"&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;alias:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'&lt;SPAN style="background-color: #1e1e1e;"&gt;Zip_Postal_Code&lt;/SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN style="background-color: #1e1e1e;"&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;type:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'&lt;SPAN style="background-color: #1e1e1e;"&gt;string&lt;/SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN style="background-color: #1e1e1e;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;},&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="background-color: #1e1e1e; color: #9cdcfe; "&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="background-color: #1e1e1e; color: #9cdcfe; "&gt;&lt;SPAN style="background-color: #1e1e1e; "&gt;&lt;SPAN style="background-color: #1e1e1e; "&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; { name:&amp;nbsp;&lt;SPAN style="color: #ce9178;"&gt;'type'&lt;/SPAN&gt;&lt;SPAN style="background-color: #1e1e1e;"&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;alias:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'type'&lt;/SPAN&gt;&lt;SPAN style="background-color: #1e1e1e;"&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;type:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'string'&lt;/SPAN&gt;&lt;SPAN style="background-color: #1e1e1e;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;},&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="background-color: #1e1e1e; color: #9cdcfe; "&gt;&lt;SPAN style="background-color: #1e1e1e; "&gt;&lt;SPAN style="background-color: #1e1e1e; "&gt;&lt;SPAN style="background-color: #1e1e1e; "&gt;&amp;nbsp; &amp;nbsp; { name:&amp;nbsp;&lt;SPAN style="color: #ce9178;"&gt;'ObjectID'&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;alias:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'ObjectID'&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;type:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'oid'&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;},&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="background-color: #1e1e1e; color: #9cdcfe; "&gt;&amp;nbsp; ],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt;});&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;DIV style="background-color: #1e1e1e; font-weight: normal;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #9cdcfe;"&gt;view&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;on&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'pointer-move'&lt;/SPAN&gt;&lt;SPAN&gt;, (&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;event&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;=&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;view&lt;/SPAN&gt;.&lt;SPAN style="color: #dcdcaa;"&gt;hitTest&lt;/SPAN&gt;(&lt;SPAN style="color: #9cdcfe;"&gt;event&lt;/SPAN&gt;).&lt;SPAN style="color: #dcdcaa;"&gt;then&lt;/SPAN&gt;((&lt;SPAN style="color: #9cdcfe;"&gt;res&lt;/SPAN&gt;) &lt;SPAN style="color: #569cd6;"&gt;=&amp;gt;&lt;/SPAN&gt; {&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN style="color: #569cd6;"&gt;let&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe; background-color: #1e1e1e;"&gt;graphic&lt;/SPAN&gt;= &lt;SPAN style="color: #9cdcfe; background-color: #1e1e1e;"&gt;res.results[0];&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="background-color: #1e1e1e; color: #9cdcfe; "&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;DIV style="color: #d4d4d4; font-weight: normal;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;let&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;SPAN style="color: #9cdcfe;"&gt;highlight&lt;/SPAN&gt;&lt;SPAN style="background-color: #1e1e1e;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;SPAN style="color: #9cdcfe; background-color: #1e1e1e;"&gt;global&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;SPAN style="color: #9cdcfe;"&gt;highlight&lt;/SPAN&gt;&lt;SPAN style="background-color: #1e1e1e;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #c586c0;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; (&lt;SPAN style="color: #9cdcfe; background-color: #1e1e1e;"&gt;highlight&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;) {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN style="color: #9cdcfe; background-color: #1e1e1e;"&gt;highlight&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;remove&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN style="color: #9cdcfe; background-color: #1e1e1e;"&gt;global.&lt;SPAN style="color: #9cdcfe;"&gt;highlight&lt;/SPAN&gt;&lt;SPAN style="background-color: #1e1e1e;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;null&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV style="background-color: #1e1e1e; font-weight: normal;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;view&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;whenLayerView&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;graphic&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;layer&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;then&lt;/SPAN&gt;&lt;SPAN&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;layerView&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;=&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; global&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;highlight&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;layerView&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;highlight&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;graphic&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;});&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;});&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;});&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2019 15:04:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlighting-feature-and-graphics-layer-issues/m-p/184699#M17156</guid>
      <dc:creator>CalebSchwind</dc:creator>
      <dc:date>2019-08-15T15:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Highlighting Feature and Graphics Layer Issues</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlighting-feature-and-graphics-layer-issues/m-p/184700#M17157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you adding your data to 2D MapView? Highlight function does not work in 2D at 4.10 as it is 3D only function. This limitation was removed at 4.12. Can you use version 4.12?&lt;/P&gt;&lt;P&gt;-Undral&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2019 16:15:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlighting-feature-and-graphics-layer-issues/m-p/184700#M17157</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2019-08-15T16:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Highlighting Feature and Graphics Layer Issues</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlighting-feature-and-graphics-layer-issues/m-p/184701#M17158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to use version 4.12 and that fixed the issue! Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2019 16:59:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlighting-feature-and-graphics-layer-issues/m-p/184701#M17158</guid>
      <dc:creator>CalebSchwind</dc:creator>
      <dc:date>2019-08-15T16:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Highlighting Feature and Graphics Layer Issues</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlighting-feature-and-graphics-layer-issues/m-p/184702#M17159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry&amp;nbsp;I'm&amp;nbsp;resurrecting this question. We recently upgraded to 4.13 and found that our Graphics layer highlighting is no longer working again, even if I add an objectID attribute. If I downgrade back to 4.12 the highlighting works without changing any code. Is there something I need to do differently, in 4.13, to get the graphics layer highlighting to work?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2019 14:36:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlighting-feature-and-graphics-layer-issues/m-p/184702#M17159</guid>
      <dc:creator>CalebSchwind</dc:creator>
      <dc:date>2019-11-07T14:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Highlighting Feature and Graphics Layer Issues</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlighting-feature-and-graphics-layer-issues/m-p/184703#M17160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry &lt;A href="https://community.esri.com/migrated-users/372855"&gt;Caleb Schwind&lt;/A&gt;‌, this is a known regression in 4.13. It should be fixed if you point to js.arcgis.com/next (see&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Esri/feedback-js-api-next" title="https://github.com/Esri/feedback-js-api-next"&gt;GitHub - Esri/feedback-js-api-next: Try out the next release of the ArcGIS API for JavaScript and share your feedback. B…&lt;/A&gt;&amp;nbsp;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: Looks like there is still one outstanding issue with graphics layer highlight being worked on now.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2019 20:36:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlighting-feature-and-graphics-layer-issues/m-p/184703#M17160</guid>
      <dc:creator>mgeorge</dc:creator>
      <dc:date>2019-11-07T20:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Highlighting Feature and Graphics Layer Issues</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlighting-feature-and-graphics-layer-issues/m-p/184704#M17161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is this still a known issue for 2D in ESRI Javascript 4.14? I can't get graphics layer graphic to highlight.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Carol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2020 19:09:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlighting-feature-and-graphics-layer-issues/m-p/184704#M17161</guid>
      <dc:creator>CarolZollweg</dc:creator>
      <dc:date>2020-03-16T19:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Highlighting Feature and Graphics Layer Issues</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlighting-feature-and-graphics-layer-issues/m-p/184705#M17162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please take a look at &lt;A href="https://codepen.io/U_B_U/pen/zYGjMOp?editors=1000"&gt;this simple app&lt;/A&gt; how to do this at 4.14.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2020 21:58:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlighting-feature-and-graphics-layer-issues/m-p/184705#M17162</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2020-03-16T21:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Highlighting Feature and Graphics Layer Issues</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlighting-feature-and-graphics-layer-issues/m-p/184706#M17163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for the example. The problem was that I was using picture symbols. Picture symbols work when highlighting FeatureLayers created client-side but not in graphics layer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2020 19:58:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlighting-feature-and-graphics-layer-issues/m-p/184706#M17163</guid>
      <dc:creator>CarolZollweg</dc:creator>
      <dc:date>2020-03-19T19:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: Highlighting Feature and Graphics Layer Issues</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlighting-feature-and-graphics-layer-issues/m-p/184707#M17164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please take a look at [this test app](&lt;A class="link-titled" href="https://codepen.io/U_B_U/pen/dyojOLd?editors=1000" title="https://codepen.io/U_B_U/pen/dyojOLd?editors=1000"&gt;https://codepen.io/U_B_U/pen/dyojOLd?editors=1000&lt;/A&gt;). I cleaned up the code (which I should done in the first app) and graphic now has pictureMarkerSymbol. GraphicsLayerView.highlight is highlighting the graphic with picture marker symbol.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am glad to hear that you are using client-side FeatureLayer. It is better to use client-side layer over GraphicsLayer anyway.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;-Undral&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2020 21:05:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlighting-feature-and-graphics-layer-issues/m-p/184707#M17164</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2020-03-19T21:05:12Z</dc:date>
    </item>
  </channel>
</rss>

