<?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: Conversion Widget Bug in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/conversion-widget-bug/m-p/168443#M15631</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthieu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for reporting this! Yes, we accidentally documented the parameters in the wrong order. We will get the documentation and typings updated shortly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Anne&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Sep 2020 21:26:35 GMT</pubDate>
    <dc:creator>AnneFitz</dc:creator>
    <dc:date>2020-09-24T21:26:35Z</dc:date>
    <item>
      <title>Conversion Widget Bug</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/conversion-widget-bug/m-p/168442#M15630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's an issue with the&amp;nbsp;updateConversions method&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-CoordinateConversion-CoordinateConversionViewModel.html#updateConversions" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-CoordinateConversion-CoordinateConversionViewModel.html#updateConversions"&gt;CoordinateConversionViewModel | ArcGIS API for JavaScript 4.16&lt;/A&gt;&amp;nbsp;&amp;nbsp;. Both in the documentation and in the types (typescript).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's supposed to be&amp;nbsp;updateConversions(location, conversions) , but it always comes back with an error saying the location is not a proper Point.&lt;/P&gt;&lt;P&gt;In the actual code it seems the properties are&amp;nbsp;reversed:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/508285_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;it's actually looking for&amp;nbsp;&lt;SPAN&gt;updateConversions(conversions, location)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;in typescript the workaround I'm applying is:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/508343_pastedImage_4.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then it works fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2020 07:26:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/conversion-widget-bug/m-p/168442#M15630</guid>
      <dc:creator>MatthieuThery1</dc:creator>
      <dc:date>2020-09-24T07:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion Widget Bug</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/conversion-widget-bug/m-p/168443#M15631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthieu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for reporting this! Yes, we accidentally documented the parameters in the wrong order. We will get the documentation and typings updated shortly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Anne&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2020 21:26:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/conversion-widget-bug/m-p/168443#M15631</guid>
      <dc:creator>AnneFitz</dc:creator>
      <dc:date>2020-09-24T21:26:35Z</dc:date>
    </item>
  </channel>
</rss>

