<?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 Search results in different projection than map in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-results-in-different-projection-than-map/m-p/753852#M69692</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a Search object and event with the following code&lt;/P&gt;&lt;P&gt;var myEntryX = myEntryGeometry.x;&lt;BR /&gt;var myEntryY = myEntryGeometry.y;&lt;/P&gt;&lt;P&gt;'&amp;lt;!&amp;gt;Your coords are \n' + myEntryX + ', ' + myEntryY + ', ' + myEntryGeometry.spatialReference.wkid);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This yields&lt;/P&gt;&lt;P&gt;&amp;lt;!&amp;gt;Your coords are&lt;/P&gt;&lt;P&gt;I noticed my spatial reference for this data is 102100, which is WGS 1984.&amp;nbsp; However, this data is being returned with coordinates in meters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have data available in 4326, which is WGS 1984 in decimal degrees.&amp;nbsp; This is also the reference for my layers and map.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I get the search object results in 4326, which has the xy coordinates in decimal degrees?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Sat, 27 Feb 2021 14:57:01 GMT</pubDate>
    <dc:creator>wcESRI</dc:creator>
    <dc:date>2021-02-27T14:57:01Z</dc:date>
    <item>
      <title>Search results in different projection than map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-results-in-different-projection-than-map/m-p/753852#M69692</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a Search object and event with the following code&lt;/P&gt;&lt;P&gt;var myEntryX = myEntryGeometry.x;&lt;BR /&gt;var myEntryY = myEntryGeometry.y;&lt;/P&gt;&lt;P&gt;'&amp;lt;!&amp;gt;Your coords are \n' + myEntryX + ', ' + myEntryY + ', ' + myEntryGeometry.spatialReference.wkid);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This yields&lt;/P&gt;&lt;P&gt;&amp;lt;!&amp;gt;Your coords are&lt;/P&gt;&lt;P&gt;I noticed my spatial reference for this data is 102100, which is WGS 1984.&amp;nbsp; However, this data is being returned with coordinates in meters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have data available in 4326, which is WGS 1984 in decimal degrees.&amp;nbsp; This is also the reference for my layers and map.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I get the search object results in 4326, which has the xy coordinates in decimal degrees?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Sat, 27 Feb 2021 14:57:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-results-in-different-projection-than-map/m-p/753852#M69692</guid>
      <dc:creator>wcESRI</dc:creator>
      <dc:date>2021-02-27T14:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Search results in different projection than map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-results-in-different-projection-than-map/m-p/753853#M69693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Christopher,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; WKID 102100 is web mercator the standard for all esri basemaps. the JS API has simple classes to convert 102100 to 4326 it is called &lt;A href="https://developers.arcgis.com/javascript/jsapi/esri.geometry.webmercatorutils-amd.html"&gt;webMercatorUtils&lt;/A&gt;​&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 20:48:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-results-in-different-projection-than-map/m-p/753853#M69693</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-10-26T20:48:15Z</dc:date>
    </item>
  </channel>
</rss>

