<?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: Highlight the related attribute with color based on selected PIN in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-the-related-attribute-with-color-based/m-p/302894#M27804</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please just write your comments in this thread, not in a separate document attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How are the black dots added to the map? Are they a separate feature layer or just graphics? It's difficult to diagnose without seeing more of your code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Jun 2018 19:25:10 GMT</pubDate>
    <dc:creator>KenBuja</dc:creator>
    <dc:date>2018-06-04T19:25:10Z</dc:date>
    <item>
      <title>Highlight the related attribute with color based on selected PIN</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-the-related-attribute-with-color-based/m-p/302889#M27799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have black dots i.e (Assets) in Map page and each asset has different Asset ID.&lt;/P&gt;&lt;P&gt;My requirement is when i select the PIN in the map, the respective asset id's in map should get highlighted with any color.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Problem is I am unable to read/identify the asset based on the selection.Therefore i am unable to highlight any color on the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried a lot but not get success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2018 13:10:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-the-related-attribute-with-color-based/m-p/302889#M27799</guid>
      <dc:creator>G_KrishnaRao</dc:creator>
      <dc:date>2018-06-04T13:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight the related attribute with color based on selected PIN</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-the-related-attribute-with-color-based/m-p/302890#M27800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post the code of what you've tried so far? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2018 13:26:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-the-related-attribute-with-color-based/m-p/302890#M27800</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2018-06-04T13:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight the related attribute with color based on selected PIN</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-the-related-attribute-with-color-based/m-p/302891#M27801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached function which is written in ARCGISMap.JS Page&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2018 13:44:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-the-related-attribute-with-color-based/m-p/302891#M27801</guid>
      <dc:creator>G_KrishnaRao</dc:creator>
      <dc:date>2018-06-04T13:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight the related attribute with color based on selected PIN</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-the-related-attribute-with-color-based/m-p/302892#M27802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are the objects in "data" that are getting returned by the ajax query? Are they features or something else? If they are features, normally you would find the attributes by &lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;assetid &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; data&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;i&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;attributes&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;AssetID&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;You should use the debugger tools in your browser to examine the "data" object to determine where the attributes are stored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are the AssetIDs? You're trying to create graphics from the splitassetsids, but creating graphics requires either a geometry or a JSON object. You're then trying to add splitassetsids to the map directly, not the graphics you tried to create.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, you're mixing up using AMD and legacy-style coding.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; sls &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;SimpleLineSymbol&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;SimpleLineSymbol&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;STYLE_SOLID&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;Color&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;markerHighlightColor&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;4&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; polyGraphic &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;esri&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Graphic&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;splitassetids&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; symbol&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;You should use just AMD style.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 14:31:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-the-related-attribute-with-color-based/m-p/302892#M27802</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2021-12-11T14:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight the related attribute with color based on selected PIN</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-the-related-attribute-with-color-based/m-p/302893#M27803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the document(attached).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2018 18:29:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-the-related-attribute-with-color-based/m-p/302893#M27803</guid>
      <dc:creator>G_KrishnaRao</dc:creator>
      <dc:date>2018-06-04T18:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight the related attribute with color based on selected PIN</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-the-related-attribute-with-color-based/m-p/302894#M27804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please just write your comments in this thread, not in a separate document attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How are the black dots added to the map? Are they a separate feature layer or just graphics? It's difficult to diagnose without seeing more of your code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2018 19:25:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-the-related-attribute-with-color-based/m-p/302894#M27804</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2018-06-04T19:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight the related attribute with color based on selected PIN</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-the-related-attribute-with-color-based/m-p/302895#M27805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the delayed response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per current update, i am now able to highlight the assets on pin click.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now, the problem is highlight part is working only after doing zoom in&lt;/P&gt;&lt;P&gt;or zoom out in map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean, when i am selecting any PIN then after doing zoom in or zoom out&lt;/P&gt;&lt;P&gt;the color is highlighting on the assets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any workaround, where i can click on PIN and highlight the asset&lt;/P&gt;&lt;P&gt;color without zoom in or zoom out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Awaiting for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2018 08:16:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-the-related-attribute-with-color-based/m-p/302895#M27805</guid>
      <dc:creator>G_KrishnaRao</dc:creator>
      <dc:date>2018-06-07T08:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight the related attribute with color based on selected PIN</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-the-related-attribute-with-color-based/m-p/302896#M27806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you are doing well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any workaround for my previous issue.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Awaiting for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Thu, Jun 7, 2018 at 1:45 PM, JustLikeThat GK &amp;lt;krishnadew06@gmail.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 07:38:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-the-related-attribute-with-color-based/m-p/302896#M27806</guid>
      <dc:creator>G_KrishnaRao</dc:creator>
      <dc:date>2018-06-11T07:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight the related attribute with color based on selected PIN</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-the-related-attribute-with-color-based/m-p/302897#M27807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 13:48:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-the-related-attribute-with-color-based/m-p/302897#M27807</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2018-06-11T13:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight the related attribute with color based on selected PIN</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-the-related-attribute-with-color-based/m-p/302898#M27808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings for the day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on PIN click,after zoom in or zoom out the map then only i am able to see&lt;/P&gt;&lt;P&gt;the highlighted color.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to avoid zoom in and zoom out. Just on PIN click only the related&lt;/P&gt;&lt;P&gt;assets should be highlighted  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Awaiting for your reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 05:56:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-the-related-attribute-with-color-based/m-p/302898#M27808</guid>
      <dc:creator>G_KrishnaRao</dc:creator>
      <dc:date>2018-06-13T05:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight the related attribute with color based on selected PIN</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-the-related-attribute-with-color-based/m-p/302899#M27809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm guessing it's because of the line&lt;/P&gt;&lt;PRE class="language-javascript line-numbers"&gt;&lt;CODE&gt;map&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;centerAndZoom&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;event&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;graphic&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;geometry&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;17&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But it's difficult to know without seeing it in context&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 16:46:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-the-related-attribute-with-color-based/m-p/302899#M27809</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2018-06-13T16:46:46Z</dc:date>
    </item>
  </channel>
</rss>

