<?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 buildings with different colors in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-buildings-with-different-colors/m-p/1144038#M76357</link>
    <description>&lt;P&gt;You might have to use a &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GraphicsLayer.html" target="_self"&gt;graphics layer&lt;/A&gt; instead of a highlight.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Feb 2022 14:30:48 GMT</pubDate>
    <dc:creator>BlakeTerhune</dc:creator>
    <dc:date>2022-02-15T14:30:48Z</dc:date>
    <item>
      <title>Highlight buildings with different colors</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-buildings-with-different-colors/m-p/1143976#M76350</link>
      <description>&lt;P&gt;I'm looking for an option that we could highlight the buildings on the GIS map with different colors.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt; Office buildings in one color and Hotel buildings in a different color when map loading.&lt;/P&gt;&lt;P&gt;I have found only the option of highlighting buildings with the same color. Though we try to change the color of one building it gets affected to the buildings that have already been highlighted with a different color.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any possibility to load the map with different colors for buildings?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 09:58:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-buildings-with-different-colors/m-p/1143976#M76350</guid>
      <dc:creator>eutech</dc:creator>
      <dc:date>2022-02-15T09:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight buildings with different colors</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-buildings-with-different-colors/m-p/1144038#M76357</link>
      <description>&lt;P&gt;You might have to use a &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GraphicsLayer.html" target="_self"&gt;graphics layer&lt;/A&gt; instead of a highlight.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 14:30:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-buildings-with-different-colors/m-p/1144038#M76357</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2022-02-15T14:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight buildings with different colors</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-buildings-with-different-colors/m-p/1144108#M76362</link>
      <description>&lt;P&gt;I have done by creating a renderer for a featureLayer which had the buildings and assigned a different fill color based on the type of building provided by one of the field in the featureLayer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const buildingRenderer = {
        type: "unique-value",
        field: "BUILDING_TYPE",
        uniqueValueInfos: [
          createFillSymbol("type1", "#838898"),
          createFillSymbol("type2", "#A7C636"),
          createFillSymbol("type3", "#149ECE"),
          createFillSymbol("type4", "#ED5151"),
          createFillSymbol("type5", "#111111")
        ]
    };&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually, I realize that this doesn't solve highlighting buildings with a different color. Sorry.&lt;/P&gt;&lt;P&gt;Maybe look at this post:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-api-for-javascript-questions/highlight-multiple-objects-in-different-colour/td-p/1032354" target="_self"&gt;https://community.esri.com/t5/arcgis-api-for-javascript-questions/highlight-multiple-objects-in-different-colour/td-p/1032354&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 16:10:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-buildings-with-different-colors/m-p/1144108#M76362</guid>
      <dc:creator>Fox71</dc:creator>
      <dc:date>2022-02-15T16:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight buildings with different colors</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-buildings-with-different-colors/m-p/1146830#M76439</link>
      <description>&lt;P&gt;Thanks for the reply, I have followed the same link that you shared, but the issue that i have faced was that we have only one layer, So if we set the different color to another building all the building turn to same color that we set.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 04:08:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-buildings-with-different-colors/m-p/1146830#M76439</guid>
      <dc:creator>eutech</dc:creator>
      <dc:date>2022-02-23T04:08:44Z</dc:date>
    </item>
  </channel>
</rss>

