<?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: Set Map Extent with layers with different wkid in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/set-map-extent-with-layers-with-different-wkid/m-p/587214#M54860</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure why it wouldn't zoom but realized the 2d service is on extended support and changed to the world street map and everything worked fine as is.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://www.arcgis.com/home/item.html?id=3b93337983e9436f8db950e38a8629af" rel="nofollow" target="_blank"&gt;http://www.arcgis.com/home/item.html?id=3b93337983e9436f8db950e38a8629af&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Apr 2014 17:41:10 GMT</pubDate>
    <dc:creator>JimBridge</dc:creator>
    <dc:date>2014-04-09T17:41:10Z</dc:date>
    <item>
      <title>Set Map Extent with layers with different wkid</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/set-map-extent-with-layers-with-different-wkid/m-p/587213#M54859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a map with a spatial reference of 102748 (2285) and want to use &lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer" rel="nofollow" target="_blank"&gt;http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer&lt;/A&gt;&lt;SPAN&gt; as a background layer. This map has a wkid of 4326&amp;nbsp; (4326) .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once I've added them I want to zoom to my map with the wkid 4326.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm adding the layers&amp;nbsp;&amp;nbsp; map.addLayers([backgroundMapLayer, LinkedMap]); //&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.addLayers([102748 , 4326]);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What should I be using to the map extent. I've tried using the linkedMap full exent min/max xy coordinate and wkid of 102746. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've also tried to set it to background min/max xy coordinate and wkid of 4326&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've then tried to zoom the map and get the whole world ( I can manually zoom and center and see my map layer over the base map in the correct place) or 0,0 off of Africa. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If someone could explain to me what I should be setting my initial map extent so when I run&amp;nbsp; map.setZoom or&amp;nbsp;&amp;nbsp; map.centerAndZoom(map.getLayer("baseLayer").fullExtent.getCenter(), 5) it zooms to where my map I'd appreciate it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm believe I'm missing how I reconcile the different wkid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 13:40:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/set-map-extent-with-layers-with-different-wkid/m-p/587213#M54859</guid>
      <dc:creator>JimBridge</dc:creator>
      <dc:date>2014-04-08T13:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Set Map Extent with layers with different wkid</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/set-map-extent-with-layers-with-different-wkid/m-p/587214#M54860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure why it wouldn't zoom but realized the 2d service is on extended support and changed to the world street map and everything worked fine as is.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://www.arcgis.com/home/item.html?id=3b93337983e9436f8db950e38a8629af" rel="nofollow" target="_blank"&gt;http://www.arcgis.com/home/item.html?id=3b93337983e9436f8db950e38a8629af&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 17:41:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/set-map-extent-with-layers-with-different-wkid/m-p/587214#M54860</guid>
      <dc:creator>JimBridge</dc:creator>
      <dc:date>2014-04-09T17:41:10Z</dc:date>
    </item>
  </channel>
</rss>

