<?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: Add a custom button on the map based on classname in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-a-custom-button-on-the-map-based-on-classname/m-p/668290#M62406</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See this link:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/guide/esri-icon-font/" title="https://developers.arcgis.com/javascript/latest/guide/esri-icon-font/"&gt;Esri Icon Font (Calcite theme) | ArcGIS API for JavaScript 4.14&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Feb 2020 17:41:20 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2020-02-20T17:41:20Z</dc:date>
    <item>
      <title>Add a custom button on the map based on classname</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-a-custom-button-on-the-map-based-on-classname/m-p/668289#M62405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like to add custom buttons on the map with similar styling as the zoom buttons.&lt;/P&gt;&lt;P&gt;Found this example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var element = document.createElement('div');&lt;BR /&gt; element.className = "esri-icon-collection esri-widget--button esri-widget esri-interactive home";&lt;BR /&gt;view.ui.add(element, "top-right");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;View is a map view.&lt;/P&gt;&lt;P&gt;This works and adds a button on the right top side of the Webmap.&lt;/P&gt;&lt;P&gt;The classname used is:&amp;nbsp;&lt;SPAN&gt;esri-icon-collection esri-widget--button esri-widget esri-interactive home&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can I&amp;nbsp;construct a similar classname for an other icon?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am looking for all possible classnames, so I can choose what buttons I want to use like a close button.&lt;/P&gt;&lt;P&gt;I can't find the&amp;nbsp;article explaining or listing all options.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2020 17:01:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-a-custom-button-on-the-map-based-on-classname/m-p/668289#M62405</guid>
      <dc:creator>PHerk</dc:creator>
      <dc:date>2020-02-20T17:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Add a custom button on the map based on classname</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-a-custom-button-on-the-map-based-on-classname/m-p/668290#M62406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See this link:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/guide/esri-icon-font/" title="https://developers.arcgis.com/javascript/latest/guide/esri-icon-font/"&gt;Esri Icon Font (Calcite theme) | ArcGIS API for JavaScript 4.14&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2020 17:41:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-a-custom-button-on-the-map-based-on-classname/m-p/668290#M62406</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-02-20T17:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Add a custom button on the map based on classname</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-a-custom-button-on-the-map-based-on-classname/m-p/668291#M62407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2020 06:41:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-a-custom-button-on-the-map-based-on-classname/m-p/668291#M62407</guid>
      <dc:creator>PHerk</dc:creator>
      <dc:date>2020-02-21T06:41:00Z</dc:date>
    </item>
  </channel>
</rss>

