<?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: Distance Measurement Component - change initial tool display in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/distance-measurement-component-change-initial-tool/m-p/1610629#M87076</link>
    <description>&lt;P&gt;That icon property just controls the icon when the component is inside an expand component. &amp;nbsp;It doesn’t affect the new measurement button.&lt;/P&gt;</description>
    <pubDate>Thu, 01 May 2025 01:33:38 GMT</pubDate>
    <dc:creator>Justin_Greco</dc:creator>
    <dc:date>2025-05-01T01:33:38Z</dc:date>
    <item>
      <title>Distance Measurement Component - change initial tool display</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/distance-measurement-component-change-initial-tool/m-p/1610111#M87065</link>
      <description>&lt;P&gt;Hi&amp;nbsp; - is there any way to change the initial display for the Distance Measurement 2D Component to use an icon (like the default calcite measure-line icon) instead of the large button labeled 'New Measurement'?&amp;nbsp; I've tried specifying the icon in the html markup like below, but I still get the 'New Measurement' button on my map. The map on my application is fairly small so I don't have a lot of real estate for the big button&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;arcgis-distance-measurement-2d&lt;/SPAN&gt; &lt;SPAN&gt;position&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"top-right"&lt;/SPAN&gt; &lt;SPAN&gt;icon&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"measure-line"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;arcgis-distance-measurement-2d&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-distance-measurement-2d/" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-distance-measurement-2d/&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Pete&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2025 17:56:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/distance-measurement-component-change-initial-tool/m-p/1610111#M87065</guid>
      <dc:creator>PeteVitt</dc:creator>
      <dc:date>2025-04-29T17:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Distance Measurement Component - change initial tool display</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/distance-measurement-component-change-initial-tool/m-p/1610520#M87071</link>
      <description>&lt;P&gt;I see that the Distance Measurement 2D widget has not been deprecated yet:&amp;nbsp;&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/components-transition-plan/" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/components-transition-plan/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;maybe this is why the icon property isnt working for the component?&lt;/P&gt;&lt;P&gt;Pete&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2025 17:29:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/distance-measurement-component-change-initial-tool/m-p/1610520#M87071</guid>
      <dc:creator>PeteVitt</dc:creator>
      <dc:date>2025-04-30T17:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Distance Measurement Component - change initial tool display</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/distance-measurement-component-change-initial-tool/m-p/1610629#M87076</link>
      <description>&lt;P&gt;That icon property just controls the icon when the component is inside an expand component. &amp;nbsp;It doesn’t affect the new measurement button.&lt;/P&gt;</description>
      <pubDate>Thu, 01 May 2025 01:33:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/distance-measurement-component-change-initial-tool/m-p/1610629#M87076</guid>
      <dc:creator>Justin_Greco</dc:creator>
      <dc:date>2025-05-01T01:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Distance Measurement Component - change initial tool display</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/distance-measurement-component-change-initial-tool/m-p/1610732#M87077</link>
      <description>&lt;P&gt;Thanks Justin - so it sounds like I just need to put the meas tool inside an expand component to get the behavior I want&lt;/P&gt;</description>
      <pubDate>Thu, 01 May 2025 13:40:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/distance-measurement-component-change-initial-tool/m-p/1610732#M87077</guid>
      <dc:creator>PeteVitt</dc:creator>
      <dc:date>2025-05-01T13:40:38Z</dc:date>
    </item>
  </channel>
</rss>

