<?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: newMeasurement bug or removed in 4.19 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/newmeasurement-bug-or-removed-in-4-19/m-p/1068717#M73512</link>
    <description>&lt;P&gt;The .&lt;STRONG&gt;newMeasurement()&lt;/STRONG&gt; function was renamed to .&lt;STRONG&gt;start()&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Jun 2021 01:25:32 GMT</pubDate>
    <dc:creator>JethroLeevers</dc:creator>
    <dc:date>2021-06-16T01:25:32Z</dc:date>
    <item>
      <title>newMeasurement bug or removed in 4.19</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/newmeasurement-bug-or-removed-in-4-19/m-p/1068657#M73504</link>
      <description>&lt;P&gt;I just switched from 4.18 to 4.19 and discovered that both&amp;nbsp;&lt;SPAN&gt;&lt;SPAN&gt;DistanceMeasurement2D &amp;amp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;AreaMeasurement2D appear to be broken or changed.&amp;nbsp; Is this a bug or was this method removed? The code example worked as far back as 4.7.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;Example (works in 4.18)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;let&amp;nbsp;activeWidget&amp;nbsp;=&amp;nbsp;new&amp;nbsp;AreaMeasurement2D({&lt;BR /&gt;view:&amp;nbsp;view,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;unit:&amp;nbsp;"square-us-feet"&lt;BR /&gt;});&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try&amp;nbsp;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;FONT color="#FF0000"&gt;activeWidget.viewModel.newMeasurement();&lt;/FONT&gt;&lt;BR /&gt;}&amp;nbsp;catch&amp;nbsp;(error)&amp;nbsp;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; console.log(error);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;FONT color="#FF0000"&gt;// TypeError: activeWidget.viewModel.newMeasurement is not a function&lt;/FONT&gt;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;// including&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://js.arcgis.com/4.19" target="_blank" rel="noopener"&gt;https://js.arcgis.com/4.19&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 15 Jun 2021 22:04:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/newmeasurement-bug-or-removed-in-4-19/m-p/1068657#M73504</guid>
      <dc:creator>GregoryBologna</dc:creator>
      <dc:date>2021-06-15T22:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: newMeasurement bug or removed in 4.19</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/newmeasurement-bug-or-removed-in-4-19/m-p/1068717#M73512</link>
      <description>&lt;P&gt;The .&lt;STRONG&gt;newMeasurement()&lt;/STRONG&gt; function was renamed to .&lt;STRONG&gt;start()&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 01:25:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/newmeasurement-bug-or-removed-in-4-19/m-p/1068717#M73512</guid>
      <dc:creator>JethroLeevers</dc:creator>
      <dc:date>2021-06-16T01:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: newMeasurement bug or removed in 4.19</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/newmeasurement-bug-or-removed-in-4-19/m-p/1068825#M73515</link>
      <description>&lt;P&gt;The renamed method Jethro mentions is documented along with many other&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/release-notes/#breaking-changes" target="_self"&gt;Breaking Changes&lt;/A&gt;&amp;nbsp;in the release notes.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 11:48:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/newmeasurement-bug-or-removed-in-4-19/m-p/1068825#M73515</guid>
      <dc:creator>EthanBodin1</dc:creator>
      <dc:date>2021-06-16T11:48:57Z</dc:date>
    </item>
  </channel>
</rss>

