<?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>idea New Measurement component &amp;quot;state&amp;quot; value in ArcGIS JavaScript Maps SDK Ideas</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/new-measurement-component-quot-state-quot-value/idi-p/1603886</link>
    <description>&lt;DIV class=""&gt;&lt;STRONG&gt;What I'd like to see:&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;Update to "state" property of measurement components/widgets in the ArcGIS Maps SDK for JavaScript&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;Description of issue:&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;When using measurement widgets or components from the JS SDK, there is a missing "state" value that I would like to see added. The "state" property can currently have four values: "disabled", "ready", "measuring", and "measured". This set of state values does not cover the case when a user has clicked "New measurement" or otherwise entered measuring mode, but has not yet placed any points on the map. This state is important to capture, since the cursor is taken over for measurement. However, currently, the state does not change from "ready" to "measuring" until a point is placed.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Here is a codepen that will help with exploring the issue:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A title="https://codepen.io/fdeters/pen/MYWdExP" href="https://codepen.io/fdeters/pen/MYWdExP" target="_blank" rel="noopener"&gt;https://codepen.io/fdeters/pen/MYWdExP&lt;/A&gt;. Follow these steps:&lt;/DIV&gt;&lt;OL&gt;&lt;LI&gt;&lt;DIV class=""&gt;Observe that the widget state is "ready".&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV class=""&gt;Click "New measurement". The widget state is still "ready", but the cursor is now taken over for measurement.&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV class=""&gt;Click on the map to place a measurement point. The widget state now turns to "measuring".&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Ideally, there would be a state value to describe the state we are in after performing step #2, or the state would switch to "measuring" once step #2 is completed.&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;Use case:&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;In a custom web app, I have a tool in a tool panel that automatically activates the measuring widget when it is open. I want to display a visual indicator to the user that their cursor is taken over for measuring while the tool is open. There is currently no way to distinguish between when the tool is "ready" but the cursor&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;is not&lt;/STRONG&gt;&amp;nbsp;taken over vs. when the tool is "ready" and the cursor&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;is&lt;/STRONG&gt;&amp;nbsp;taken over.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;Ideally, this change would make it into &lt;U&gt;both&lt;/U&gt; the SDK widgets and the map components.&lt;/DIV&gt;</description>
    <pubDate>Tue, 08 Apr 2025 18:16:08 GMT</pubDate>
    <dc:creator>fdeters</dc:creator>
    <dc:date>2025-04-08T18:16:08Z</dc:date>
    <item>
      <title>New Measurement component "state" value</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/new-measurement-component-quot-state-quot-value/idi-p/1603886</link>
      <description>&lt;DIV class=""&gt;&lt;STRONG&gt;What I'd like to see:&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;Update to "state" property of measurement components/widgets in the ArcGIS Maps SDK for JavaScript&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;Description of issue:&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;When using measurement widgets or components from the JS SDK, there is a missing "state" value that I would like to see added. The "state" property can currently have four values: "disabled", "ready", "measuring", and "measured". This set of state values does not cover the case when a user has clicked "New measurement" or otherwise entered measuring mode, but has not yet placed any points on the map. This state is important to capture, since the cursor is taken over for measurement. However, currently, the state does not change from "ready" to "measuring" until a point is placed.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Here is a codepen that will help with exploring the issue:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A title="https://codepen.io/fdeters/pen/MYWdExP" href="https://codepen.io/fdeters/pen/MYWdExP" target="_blank" rel="noopener"&gt;https://codepen.io/fdeters/pen/MYWdExP&lt;/A&gt;. Follow these steps:&lt;/DIV&gt;&lt;OL&gt;&lt;LI&gt;&lt;DIV class=""&gt;Observe that the widget state is "ready".&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV class=""&gt;Click "New measurement". The widget state is still "ready", but the cursor is now taken over for measurement.&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV class=""&gt;Click on the map to place a measurement point. The widget state now turns to "measuring".&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Ideally, there would be a state value to describe the state we are in after performing step #2, or the state would switch to "measuring" once step #2 is completed.&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;Use case:&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;In a custom web app, I have a tool in a tool panel that automatically activates the measuring widget when it is open. I want to display a visual indicator to the user that their cursor is taken over for measuring while the tool is open. There is currently no way to distinguish between when the tool is "ready" but the cursor&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;is not&lt;/STRONG&gt;&amp;nbsp;taken over vs. when the tool is "ready" and the cursor&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;is&lt;/STRONG&gt;&amp;nbsp;taken over.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;Ideally, this change would make it into &lt;U&gt;both&lt;/U&gt; the SDK widgets and the map components.&lt;/DIV&gt;</description>
      <pubDate>Tue, 08 Apr 2025 18:16:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/new-measurement-component-quot-state-quot-value/idi-p/1603886</guid>
      <dc:creator>fdeters</dc:creator>
      <dc:date>2025-04-08T18:16:08Z</dc:date>
    </item>
  </channel>
</rss>

