<?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 Having the Map and layers on different spatial references in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/having-the-map-and-layers-on-different-spatial/m-p/577060#M53896</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to have the Map on spatial ref X and the street view layer (ArcGISTiledMapServiceLayer) on spatial ref Y? Like so:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;var ext = new esri.geometry.Extent(123, 456, 789, 876, new esri.SpatialReference({wkid:12345}) );
var map = new esri.Map("mapDiv", { extent: ext});

var streetMap = new esri.layers.ArcGISTiledMapServiceLayer("http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer"); // this layer is on 4326
map.addLayer(streetMap);&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The above code doesn't work so I'm looking for a solution. Basically I have a Map Server on spatial ref 12345 and I want to display a map for it. Are there other street maps for different spatial references?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Dec 2010 20:46:39 GMT</pubDate>
    <dc:creator>MostafaAsadi</dc:creator>
    <dc:date>2010-12-22T20:46:39Z</dc:date>
    <item>
      <title>Having the Map and layers on different spatial references</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/having-the-map-and-layers-on-different-spatial/m-p/577060#M53896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to have the Map on spatial ref X and the street view layer (ArcGISTiledMapServiceLayer) on spatial ref Y? Like so:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;var ext = new esri.geometry.Extent(123, 456, 789, 876, new esri.SpatialReference({wkid:12345}) );
var map = new esri.Map("mapDiv", { extent: ext});

var streetMap = new esri.layers.ArcGISTiledMapServiceLayer("http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer"); // this layer is on 4326
map.addLayer(streetMap);&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The above code doesn't work so I'm looking for a solution. Basically I have a Map Server on spatial ref 12345 and I want to display a map for it. Are there other street maps for different spatial references?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Dec 2010 20:46:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/having-the-map-and-layers-on-different-spatial/m-p/577060#M53896</guid>
      <dc:creator>MostafaAsadi</dc:creator>
      <dc:date>2010-12-22T20:46:39Z</dc:date>
    </item>
  </channel>
</rss>

