<?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 May I add different spatialReference in one map in arcgis js 4? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/may-i-add-different-spatialreference-in-one-map-in/m-p/546451#M50921</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dr sir:&lt;/P&gt;&lt;P&gt;I want add two&amp;nbsp;&lt;SPAN&gt;spatialReference webtilelayer in one map.My code like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//add makrker layer&lt;BR /&gt;&lt;SPAN&gt; var baseMapMarker = new WebTileLayer("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2F" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;{subDomain}.tianditu.com/DataServer?T=cva_c&amp;amp;X={col}&amp;amp;Y={row}&amp;amp;L={level}", {&lt;/SPAN&gt;&lt;BR /&gt; "copyright": "Tianditu",&lt;BR /&gt; "id": "Tianditu2",&lt;BR /&gt; "subDomains": ["t0", "t1", "t2"],&lt;BR /&gt; "tileInfo": tileInfo,&lt;BR /&gt; "spatialReference": {&lt;BR /&gt; "wkid": 4326&lt;BR /&gt; }&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; var map = new Map({&lt;BR /&gt; basemap: "satellite",//satellite,"hybrid"&lt;BR /&gt; // ground: "world-elevation"&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; map.layers.add(baseMapMarker, 3);//add layer now&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it not work except use one&amp;nbsp;&lt;SPAN&gt;spatialReference,I notice this layer can support&amp;nbsp;spatialReference,so I think maybe it could work, Could u help me?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May I add different&amp;nbsp;spatialReference in one map in arcgis js 4?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Jun 2017 09:31:08 GMT</pubDate>
    <dc:creator>tangms</dc:creator>
    <dc:date>2017-06-20T09:31:08Z</dc:date>
    <item>
      <title>May I add different spatialReference in one map in arcgis js 4?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/may-i-add-different-spatialreference-in-one-map-in/m-p/546451#M50921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dr sir:&lt;/P&gt;&lt;P&gt;I want add two&amp;nbsp;&lt;SPAN&gt;spatialReference webtilelayer in one map.My code like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//add makrker layer&lt;BR /&gt;&lt;SPAN&gt; var baseMapMarker = new WebTileLayer("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2F" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;{subDomain}.tianditu.com/DataServer?T=cva_c&amp;amp;X={col}&amp;amp;Y={row}&amp;amp;L={level}", {&lt;/SPAN&gt;&lt;BR /&gt; "copyright": "Tianditu",&lt;BR /&gt; "id": "Tianditu2",&lt;BR /&gt; "subDomains": ["t0", "t1", "t2"],&lt;BR /&gt; "tileInfo": tileInfo,&lt;BR /&gt; "spatialReference": {&lt;BR /&gt; "wkid": 4326&lt;BR /&gt; }&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; var map = new Map({&lt;BR /&gt; basemap: "satellite",//satellite,"hybrid"&lt;BR /&gt; // ground: "world-elevation"&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; map.layers.add(baseMapMarker, 3);//add layer now&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it not work except use one&amp;nbsp;&lt;SPAN&gt;spatialReference,I notice this layer can support&amp;nbsp;spatialReference,so I think maybe it could work, Could u help me?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May I add different&amp;nbsp;spatialReference in one map in arcgis js 4?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 09:31:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/may-i-add-different-spatialreference-in-one-map-in/m-p/546451#M50921</guid>
      <dc:creator>tangms</dc:creator>
      <dc:date>2017-06-20T09:31:08Z</dc:date>
    </item>
  </channel>
</rss>

