<?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: CoordinateConversion change formats name in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/coordinateconversion-change-formats-name/m-p/1194330#M78005</link>
    <description>&lt;P&gt;I have noticed in the 4.24 release there is a new property &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-CoordinateConversion-support-Format.html#label" target="_blank" rel="noopener"&gt;label&lt;/A&gt;, is it possible to now achieve this using this new property and if so, how?&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jul 2022 07:33:10 GMT</pubDate>
    <dc:creator>Flookfinders</dc:creator>
    <dc:date>2022-07-21T07:33:10Z</dc:date>
    <item>
      <title>CoordinateConversion change formats name</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/coordinateconversion-change-formats-name/m-p/1123282#M75492</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RemiBecheru_0-1638872046858.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/28964iCA3A076576F48A3C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RemiBecheru_0-1638872046858.png" alt="RemiBecheru_0-1638872046858.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How to change the name of those formats.&lt;/P&gt;&lt;P&gt;If I try to reassign format.name = 'new name' it works but the coordinates disappear as below pic.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RemiBecheru_1-1638872462908.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/28967i548E97325B1D114F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RemiBecheru_1-1638872462908.png" alt="RemiBecheru_1-1638872462908.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 10:21:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/coordinateconversion-change-formats-name/m-p/1123282#M75492</guid>
      <dc:creator>RemiBecheru</dc:creator>
      <dc:date>2021-12-07T10:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: CoordinateConversion change formats name</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/coordinateconversion-change-formats-name/m-p/1123392#M75498</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/543612"&gt;@RemiBecheru&lt;/a&gt;,&amp;nbsp;thanks for the question. Unfortunately, this is not currently possible. The only alternative would be&amp;nbsp;&lt;SPAN&gt;duplicating one of the existing formats, but giving it a different name. But then you would have to implement the conversion logic yourself.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We are considering this as an enhancement for&amp;nbsp;the CoordinateConversion widget. Could you explain why this functionality would be useful for your work/project?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 16:31:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/coordinateconversion-change-formats-name/m-p/1123392#M75498</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2021-12-07T16:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: CoordinateConversion change formats name</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/coordinateconversion-change-formats-name/m-p/1123405#M75499</link>
      <description>&lt;P&gt;Considering in production the app will be used by people which don't know what DD means for example.&lt;/P&gt;&lt;P&gt;That's why it will be more explanatory to change DD.name with Lat. Long.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 16:46:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/coordinateconversion-change-formats-name/m-p/1123405#M75499</guid>
      <dc:creator>RemiBecheru</dc:creator>
      <dc:date>2021-12-07T16:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: CoordinateConversion change formats name</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/coordinateconversion-change-formats-name/m-p/1123411#M75500</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/543612"&gt;@RemiBecheru&lt;/a&gt;,&amp;nbsp;that makes sense. We'll add this enhancement to our roadmap. I'm not sure when this will be come available, but I made a note to update this thread when I have some news to share.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 16:58:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/coordinateconversion-change-formats-name/m-p/1123411#M75500</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2021-12-07T16:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: CoordinateConversion change formats name</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/coordinateconversion-change-formats-name/m-p/1194330#M78005</link>
      <description>&lt;P&gt;I have noticed in the 4.24 release there is a new property &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-CoordinateConversion-support-Format.html#label" target="_blank" rel="noopener"&gt;label&lt;/A&gt;, is it possible to now achieve this using this new property and if so, how?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 07:33:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/coordinateconversion-change-formats-name/m-p/1194330#M78005</guid>
      <dc:creator>Flookfinders</dc:creator>
      <dc:date>2022-07-21T07:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: CoordinateConversion change formats name</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/coordinateconversion-change-formats-name/m-p/1195343#M78037</link>
      <description>&lt;P&gt;After some playing around I have managed to change the label using the following code:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;reactiveUtils
  .whenOnce(() =&amp;gt; ccWidget.formats.length &amp;gt; 0)
  .then(() =&amp;gt; {
    let filteredFormats =
      ccWidget.formats.items.filter(
        (f) =&amp;gt; f.name === "basemap" || f.name === "xy"
      );
    filteredFormats[
      filteredFormats.findIndex((f) =&amp;gt; f.name === "basemap")
    ].label = "BNG";
    filteredFormats[
      filteredFormats.findIndex((f) =&amp;gt; f.name === "xy")
    ].label = "Long/Lat";
    ccWidget.formats.items = filteredFormats;
  });&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 25 Jul 2022 10:06:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/coordinateconversion-change-formats-name/m-p/1195343#M78037</guid>
      <dc:creator>Flookfinders</dc:creator>
      <dc:date>2022-07-25T10:06:29Z</dc:date>
    </item>
  </channel>
</rss>

