<?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 substitute esri-icon with custom image in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/substitute-esri-icon-with-custom-image/m-p/1221499#M78999</link>
    <description>&lt;P&gt;We use a expandable basemap gallery such as in this sample-code:&amp;nbsp; &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/widgets-expand/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/sample-code/widgets-expand/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Instead of the default-icon, we would like to use a custom image as the expandIconClass. But I don't manage to include it. I managed to include another esri-icon by using the following code-snippet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;const bgExpand = new Expand({&lt;BR /&gt;view: view,&lt;BR /&gt;content: basemapGallery,&lt;BR /&gt;expandIconClass: "esri-icon-collection"&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;What do I need to change, to substitute&amp;nbsp;"esri-icon-collection" with a custom image, like this:&amp;nbsp;&lt;A href="https://static.arcgis.com/images/Symbols/Shapes/BlackStarLargeB.png" target="_blank" rel="noopener"&gt;https://static.arcgis.com/images/Symbols/Shapes/BlackStarLargeB.png&lt;/A&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Oct 2022 13:09:46 GMT</pubDate>
    <dc:creator>nadja</dc:creator>
    <dc:date>2022-10-13T13:09:46Z</dc:date>
    <item>
      <title>substitute esri-icon with custom image</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/substitute-esri-icon-with-custom-image/m-p/1221499#M78999</link>
      <description>&lt;P&gt;We use a expandable basemap gallery such as in this sample-code:&amp;nbsp; &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/widgets-expand/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/sample-code/widgets-expand/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Instead of the default-icon, we would like to use a custom image as the expandIconClass. But I don't manage to include it. I managed to include another esri-icon by using the following code-snippet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;const bgExpand = new Expand({&lt;BR /&gt;view: view,&lt;BR /&gt;content: basemapGallery,&lt;BR /&gt;expandIconClass: "esri-icon-collection"&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;What do I need to change, to substitute&amp;nbsp;"esri-icon-collection" with a custom image, like this:&amp;nbsp;&lt;A href="https://static.arcgis.com/images/Symbols/Shapes/BlackStarLargeB.png" target="_blank" rel="noopener"&gt;https://static.arcgis.com/images/Symbols/Shapes/BlackStarLargeB.png&lt;/A&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 13:09:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/substitute-esri-icon-with-custom-image/m-p/1221499#M78999</guid>
      <dc:creator>nadja</dc:creator>
      <dc:date>2022-10-13T13:09:46Z</dc:date>
    </item>
  </channel>
</rss>

