<?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: Layer using 26917 SpatialReference issue in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/layer-using-26917-spatialreference-issue/m-p/471730#M43731</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;The goto function requires that the target coordinates be in the same spatial reference as the view.&amp;nbsp;So you will have to project your data to 102100/3857 first. Normally if you are querying the data you can request that the returned geometry is in 102100 by using the outSpatialReference propery of the Query class.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jun 2020 12:57:50 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2020-06-25T12:57:50Z</dc:date>
    <item>
      <title>Layer using 26917 SpatialReference issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/layer-using-26917-spatialreference-issue/m-p/471729#M43730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to make use of the MapView's goTo function when adding a new layer to a map, but it does not seem to work. When the layer is added, itThe wkid of the layer is 26917 (NAD83), and I have tried others that correspond to that (4326, 4269, etc.), but they don't work either. I have used my code on layers that use wkid 3857 and that works fine, but for some reason can't get it to work with this one (Note:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more context, here is my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var mapExtent = new Extent(extent.xmin, extent.ymin, extent.xmax, extent.ymax, new SpatialReference({ wkid: 4326, latestWkid: 4326 }));&lt;BR /&gt; view.goTo(&lt;SPAN&gt;mapExtent&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output:&lt;BR /&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/497834_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;My MapView's spatial reference is set to 3857, but as far as I am aware, that cannot be changed. Any help or tips would be great!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2020 00:22:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/layer-using-26917-spatialreference-issue/m-p/471729#M43730</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-06-25T00:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Layer using 26917 SpatialReference issue</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/layer-using-26917-spatialreference-issue/m-p/471730#M43731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;The goto function requires that the target coordinates be in the same spatial reference as the view.&amp;nbsp;So you will have to project your data to 102100/3857 first. Normally if you are querying the data you can request that the returned geometry is in 102100 by using the outSpatialReference propery of the Query class.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2020 12:57:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/layer-using-26917-spatialreference-issue/m-p/471730#M43731</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-06-25T12:57:50Z</dc:date>
    </item>
  </channel>
</rss>

