<?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: Manually give a position to the Coordinate Conversion widget in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/manually-give-a-position-to-the-coordinate/m-p/1290264#M81191</link>
    <description>&lt;P&gt;This is done by setting the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-CoordinateConversion.html#currentLocation" target="_self"&gt;currentLocation&lt;/A&gt; property.&amp;nbsp; The documentation says that property is read-only, but that's incorrect.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;function visualize(latitude, longitude, ccWidget) {
	ccWidget.currentLocation = Point.fromJSON({x:longitude,y:latitude,spatialReference:{wkid:4326}});
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 17 May 2023 18:25:04 GMT</pubDate>
    <dc:creator>JoelBennett</dc:creator>
    <dc:date>2023-05-17T18:25:04Z</dc:date>
    <item>
      <title>Manually give a position to the Coordinate Conversion widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/manually-give-a-position-to-the-coordinate/m-p/1289834#M81182</link>
      <description>&lt;P&gt;I am using the coordinateConversion widget and I need to give it a location manually. I have a button that does an external conversion to the widget and that conversion returns longitude and latitude. I need to send those coordinates to the widget to be able to visualize them but I have not been able to do it, what can I do in this case, is there any way to pass that position to the widget?&lt;BR /&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 21:38:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/manually-give-a-position-to-the-coordinate/m-p/1289834#M81182</guid>
      <dc:creator>MaicollDavidArizaCoronado</dc:creator>
      <dc:date>2023-05-16T21:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Manually give a position to the Coordinate Conversion widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/manually-give-a-position-to-the-coordinate/m-p/1290264#M81191</link>
      <description>&lt;P&gt;This is done by setting the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-CoordinateConversion.html#currentLocation" target="_self"&gt;currentLocation&lt;/A&gt; property.&amp;nbsp; The documentation says that property is read-only, but that's incorrect.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;function visualize(latitude, longitude, ccWidget) {
	ccWidget.currentLocation = Point.fromJSON({x:longitude,y:latitude,spatialReference:{wkid:4326}});
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 18:25:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/manually-give-a-position-to-the-coordinate/m-p/1290264#M81191</guid>
      <dc:creator>JoelBennett</dc:creator>
      <dc:date>2023-05-17T18:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Manually give a position to the Coordinate Conversion widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/manually-give-a-position-to-the-coordinate/m-p/1290347#M81192</link>
      <description>&lt;P&gt;Lo he conseguido tal cual instanciando un nuevo punto y asignandoselo a la propiedad de currentLocation&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const point = new Point({
              latitude: decimalLatitude,
              longitude: -decimalLongitude
            });

coordinate_convers.currentLocation = point&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 19:58:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/manually-give-a-position-to-the-coordinate/m-p/1290347#M81192</guid>
      <dc:creator>MaicollDavidArizaCoronado</dc:creator>
      <dc:date>2023-05-17T19:58:45Z</dc:date>
    </item>
  </channel>
</rss>

