<?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 JS API 4.0 layer order in map and resulting maximum scale in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-0-layer-order-in-map-and-resulting/m-p/509891#M47406</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I add several layers to a Map, the maximum zoom level depends on the order of the layers in the layers array:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;var map = new Map({&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*basemap: "streets",*/ &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*basemap: customBasemap ,*/&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layers: [infraLyr, baseLyr],&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*layers: [baseLyr, infraLyr],*/&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; spatialReference: new SpatialReference ({wkid: 31370})&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The baseLyr is a TileLayer and the infraLyr is a MapImageLayer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use the sequence&amp;nbsp; "layers: [infraLyr, baseLyr]", I can zoom to the maximum scale of the infraLyr and the tiles of the baseLyr are interpolated outside the scale range of the baseLyr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use the sequence "layers: [baseLyr, infraLyr]", I can only zoom to the maximum scale of the baseLyr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be more logical to be able to zoom to the maximum scale of any of the layers present in the map, regardless of their sequence?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 May 2016 09:41:04 GMT</pubDate>
    <dc:creator>janjermei</dc:creator>
    <dc:date>2016-05-11T09:41:04Z</dc:date>
    <item>
      <title>JS API 4.0 layer order in map and resulting maximum scale</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-0-layer-order-in-map-and-resulting/m-p/509891#M47406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I add several layers to a Map, the maximum zoom level depends on the order of the layers in the layers array:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;var map = new Map({&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*basemap: "streets",*/ &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*basemap: customBasemap ,*/&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layers: [infraLyr, baseLyr],&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*layers: [baseLyr, infraLyr],*/&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; spatialReference: new SpatialReference ({wkid: 31370})&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The baseLyr is a TileLayer and the infraLyr is a MapImageLayer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use the sequence&amp;nbsp; "layers: [infraLyr, baseLyr]", I can zoom to the maximum scale of the infraLyr and the tiles of the baseLyr are interpolated outside the scale range of the baseLyr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use the sequence "layers: [baseLyr, infraLyr]", I can only zoom to the maximum scale of the baseLyr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be more logical to be able to zoom to the maximum scale of any of the layers present in the map, regardless of their sequence?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 09:41:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-0-layer-order-in-map-and-resulting/m-p/509891#M47406</guid>
      <dc:creator>janjermei</dc:creator>
      <dc:date>2016-05-11T09:41:04Z</dc:date>
    </item>
  </channel>
</rss>

