<?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: Change Spatial Reference in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-spatial-reference/m-p/1120933#M75421</link>
    <description>&lt;P&gt;When you create the map, you can only use the properties available for the options object, not just any property from the map.&lt;BR /&gt;&lt;BR /&gt;You can view the list available options for the properties &lt;A href="https://developers.arcgis.com/javascript/3/jsapi/map-amd.html#map1" target="_self"&gt;here&lt;/A&gt;. Setting the spatial reference isn't one of them. This is essentially a "read-only" property for the map.&lt;/P&gt;</description>
    <pubDate>Mon, 29 Nov 2021 19:06:22 GMT</pubDate>
    <dc:creator>CourtneyMenikheim</dc:creator>
    <dc:date>2021-11-29T19:06:22Z</dc:date>
    <item>
      <title>Change Spatial Reference</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-spatial-reference/m-p/1119844#M75394</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Actually Im working with Directions widget under&amp;nbsp; Arcgis api 3.38, and I have noticed that the points generated by the widget by default have a special format (Lat:&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;-295814.2467043314&lt;/STRONG&gt; Long :&lt;STRONG&gt;4036503.8700564974 &lt;/STRONG&gt;I think used esri Spatial reference&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;latestWkid&lt;/SPAN&gt;:&amp;nbsp;&lt;SPAN class=""&gt;3857&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;wkid&lt;/SPAN&gt;:&amp;nbsp;&lt;SPAN class=""&gt;102100&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;)&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So what I want is to change it to use my own spatial reference &lt;STRONG&gt;Spatial Reference: 32629&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have tried the below instructions but didn't worked with me&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;var sr = new SpatialReference({ wkid: 32629});
var map = new Map("map", {
                basemap: "streets",
                center: [-7.603869, 33.589886],
                zoom: 7,
                spatialReference: sr
            });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 11:36:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-spatial-reference/m-p/1119844#M75394</guid>
      <dc:creator>benchikh</dc:creator>
      <dc:date>2021-11-24T11:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Change Spatial Reference</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-spatial-reference/m-p/1120933#M75421</link>
      <description>&lt;P&gt;When you create the map, you can only use the properties available for the options object, not just any property from the map.&lt;BR /&gt;&lt;BR /&gt;You can view the list available options for the properties &lt;A href="https://developers.arcgis.com/javascript/3/jsapi/map-amd.html#map1" target="_self"&gt;here&lt;/A&gt;. Setting the spatial reference isn't one of them. This is essentially a "read-only" property for the map.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 19:06:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-spatial-reference/m-p/1120933#M75421</guid>
      <dc:creator>CourtneyMenikheim</dc:creator>
      <dc:date>2021-11-29T19:06:22Z</dc:date>
    </item>
  </channel>
</rss>

