<?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: Why adding a TileLayer to the map changes zoom of MapView? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-adding-a-tilelayer-to-the-map-changes-zoom-of/m-p/699174#M65113</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Undral,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for the tip! I didn't understand that I must set LODs myself without basemaps... That completely fixes my problem!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just for my better understanding, why does it work without explicitly setting LODs for a &lt;EM&gt;synchronously&lt;/EM&gt; added layer (&lt;A class="link-titled" href="https://codepen.io/parshin/pen/povmVyE?editors=1000" title="https://codepen.io/parshin/pen/povmVyE?editors=1000"&gt;https://codepen.io/parshin/pen/povmVyE?editors=1000&lt;/A&gt;&amp;nbsp;)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jan 2020 18:12:04 GMT</pubDate>
    <dc:creator>AlexanderParshin</dc:creator>
    <dc:date>2020-01-29T18:12:04Z</dc:date>
    <item>
      <title>Why adding a TileLayer to the map changes zoom of MapView?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-adding-a-tilelayer-to-the-map-changes-zoom-of/m-p/699172#M65111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Test case:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create an empty Map without basemap&lt;/LI&gt;&lt;LI&gt;Create MapView with EPSG:4326 projection and initial position (center and zoom)&lt;/LI&gt;&lt;LI&gt;Asynchronously add the following TileLayer to the map:&amp;nbsp;&lt;A class="link-titled" href="https://gis.ngdc.noaa.gov/arcgis/rest/services/wgs84/gebco_2019_contours/MapServer" title="https://gis.ngdc.noaa.gov/arcgis/rest/services/wgs84/gebco_2019_contours/MapServer"&gt;wgs84/gebco_2019_contours (MapServer)&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;The map will zoom out to zoom=0 after adding the layer.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;CodePen:&amp;nbsp;&lt;A class="link-titled" href="https://codepen.io/parshin/pen/RwNmgRx?editors=1000" title="https://codepen.io/parshin/pen/RwNmgRx?editors=1000"&gt;https://codepen.io/parshin/pen/RwNmgRx?editors=1000&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why zoom is changed? Is it expected behavior? I can't find any information about it in the documentation...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Synchronous layers adding doesn't change map's zoom&lt;/LI&gt;&lt;LI&gt;Many other layers with MapView in WebMercator projection work fine (no zoom change)&lt;/LI&gt;&lt;LI&gt;I can reproduce this issue with 4.14 and "next" API&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Environment:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P style="background-color: #ffffff; border: 0px; margin: 0px;"&gt;Browser: Chromium Version 79.0.3945.79&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P style="background-color: #ffffff; border: 0px; margin: 0px;"&gt;OS:&amp;nbsp;Ubuntu 16.04 (64-bit)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;ArcGIS API versions: 4.14, next&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2020 11:52:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-adding-a-tilelayer-to-the-map-changes-zoom-of/m-p/699172#M65111</guid>
      <dc:creator>AlexanderParshin</dc:creator>
      <dc:date>2020-01-29T11:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Why adding a TileLayer to the map changes zoom of MapView?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-adding-a-tilelayer-to-the-map-changes-zoom-of/m-p/699173#M65112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#constraints" rel="nofollow noopener noreferrer" target="_blank"&gt;MapView.constraints.lods&lt;/A&gt;&amp;nbsp;property should be specified when no basemap is being set or when using a dynamic service for a basemap. Setting MapView.zoom is meaningless without setting LODs.&amp;nbsp;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&amp;nbsp;You can set the LODs by by&amp;nbsp;either&amp;nbsp;explicitly&amp;nbsp;setting&amp;nbsp;the&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;lods&lt;/CODE&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&amp;nbsp;within&amp;nbsp;this&amp;nbsp;property,&amp;nbsp;or&amp;nbsp;create the&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;lods&lt;/CODE&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&amp;nbsp;via&amp;nbsp;the&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-TileInfo.html#create" style="color: #0079c1; background-color: #ffffff; text-decoration: none;" rel="nofollow noopener noreferrer" target="_blank"&gt;create()&lt;/A&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;method&amp;nbsp;on&amp;nbsp;the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-TileInfo.html" style="color: #0079c1; background-color: #ffffff; text-decoration: none;" rel="nofollow noopener noreferrer" target="_blank"&gt;TileInfo&lt;/A&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&amp;nbsp;class.&amp;nbsp;This&amp;nbsp;method is&amp;nbsp;used&amp;nbsp;to&amp;nbsp;create&amp;nbsp;a&amp;nbsp;new&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-TileInfo.html" style="color: #0079c1; background-color: #ffffff; text-decoration: none;" rel="nofollow noopener noreferrer" target="_blank"&gt;TileInfo&lt;/A&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&amp;nbsp;instance with&amp;nbsp;preset&amp;nbsp;properties&amp;nbsp;for&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-TileInfo.html#lods" style="color: #0079c1; background-color: #ffffff; text-decoration: none;" rel="nofollow noopener noreferrer" target="_blank"&gt;lods&lt;/A&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;Because you are adding a MapImageLayer with a spatialReference of 4326, you create the LODs as shown below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; view &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;MapView&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
 container&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"viewDiv"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
 map&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; map&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
 spatialReference&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
   wkid&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;4326&lt;/SPAN&gt;
 &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
 zoom&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;4&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;  &lt;SPAN class="comment token"&gt;// &amp;lt;-- initial zoom is 4&lt;/SPAN&gt;
 center&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;15&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;65&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
 constraints&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
   lods&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; TileInfo&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;create&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
     spatialReference&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
     wkid&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;4326&lt;/SPAN&gt;
   &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
   &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;lods
 &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also updated your&lt;A href="https://codepen.io/U_B_U/pen/eYmaMGp?editors=1000" rel="nofollow noopener noreferrer" target="_blank"&gt; test app&lt;/A&gt; to use this approach.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;-Undral&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 05:25:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-adding-a-tilelayer-to-the-map-changes-zoom-of/m-p/699173#M65112</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2021-12-12T05:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Why adding a TileLayer to the map changes zoom of MapView?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-adding-a-tilelayer-to-the-map-changes-zoom-of/m-p/699174#M65113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Undral,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for the tip! I didn't understand that I must set LODs myself without basemaps... That completely fixes my problem!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just for my better understanding, why does it work without explicitly setting LODs for a &lt;EM&gt;synchronously&lt;/EM&gt; added layer (&lt;A class="link-titled" href="https://codepen.io/parshin/pen/povmVyE?editors=1000" title="https://codepen.io/parshin/pen/povmVyE?editors=1000"&gt;https://codepen.io/parshin/pen/povmVyE?editors=1000&lt;/A&gt;&amp;nbsp;)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2020 18:12:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-adding-a-tilelayer-to-the-map-changes-zoom-of/m-p/699174#M65113</guid>
      <dc:creator>AlexanderParshin</dc:creator>
      <dc:date>2020-01-29T18:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Why adding a TileLayer to the map changes zoom of MapView?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-adding-a-tilelayer-to-the-map-changes-zoom-of/m-p/699175#M65114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Undral, one more case: why LODs are initialized properly with &lt;EM&gt;asynchronous&lt;/EM&gt;&amp;nbsp;adding of WebTileLayer (instead of TileLayer):&amp;nbsp;&lt;A class="link-titled" href="https://codepen.io/parshin/pen/eYmajyp?editors=1000" title="https://codepen.io/parshin/pen/eYmajyp?editors=1000"&gt;https://codepen.io/parshin/pen/eYmajyp?editors=1000&lt;/A&gt;&amp;nbsp; ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2020 19:49:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-adding-a-tilelayer-to-the-map-changes-zoom-of/m-p/699175#M65114</guid>
      <dc:creator>AlexanderParshin</dc:creator>
      <dc:date>2020-01-29T19:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Why adding a TileLayer to the map changes zoom of MapView?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-adding-a-tilelayer-to-the-map-changes-zoom-of/m-p/699176#M65115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is because MapView's lods are set to use ArcGIS Online tiling scheme for WKID:102100 by default. This &lt;SPAN style="background-color: #ffffff;"&gt;WebTileLayer has Web Mercator (wkid:102100) spatial reference. That is why you did not have to set the LODs. For example, I updated &lt;A href="https://codepen.io/U_B_U/pen/JjoqmGV?editors=1000"&gt;your app &lt;/A&gt;to use TileLayer with Web Mercator SpatialReference. As you can see it behaves as same as your WebTileLayer. If your cached layer's spatialReference is not WebMercator then you have to do what I suggested above.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Hope this makes sense,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;-Undral&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2020 21:48:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-adding-a-tilelayer-to-the-map-changes-zoom-of/m-p/699176#M65115</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2020-01-29T21:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why adding a TileLayer to the map changes zoom of MapView?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-adding-a-tilelayer-to-the-map-changes-zoom-of/m-p/699177#M65116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Undral,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the explanation!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's weird, but your last example with Web Mercator and TileLayer doesn't work for me with disabled browser cache (initial zoom value is ignored). For example, it can be the first load of the page after I clean the cache manually or if I turn on Chrome DevTools and disable network cache from there. I checked this with Chrome and Firefox and with a standalone HTML (to make sure that it's related to CodePen framework).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could it be some sort of race condition inside ArcGIS JS API?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2020 08:01:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-adding-a-tilelayer-to-the-map-changes-zoom-of/m-p/699177#M65116</guid>
      <dc:creator>AlexanderParshin</dc:creator>
      <dc:date>2020-01-30T08:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: Why adding a TileLayer to the map changes zoom of MapView?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-adding-a-tilelayer-to-the-map-changes-zoom-of/m-p/699178#M65117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is working as designed. If the view is initialized with the zoom, it just start out at that zoom. It does not change to it. Hence, you will not see the view.zoom changing at the initial load. If you need to catch this initial zoom then you can use&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-core-watchUtils.html#init" style="color: #2989c5; text-decoration: none;" rel="nofollow noopener noreferrer" target="_blank"&gt;watchUtils.init()&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt;method as shown below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;watchUtils&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;init&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;view&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"watch"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;function&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
  console&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;log&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"view's init zoom"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; view&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;zoom&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Undral&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 05:25:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-adding-a-tilelayer-to-the-map-changes-zoom-of/m-p/699178#M65117</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2021-12-12T05:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: Why adding a TileLayer to the map changes zoom of MapView?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-adding-a-tilelayer-to-the-map-changes-zoom-of/m-p/699179#M65118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Undral,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all, thank you again for the explanation and examples - I set LODs explicitly and it completely solved my problems!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only reason I wrote the message above is that it seems strange to me that the map after load in your example&amp;nbsp;&lt;A class="link-titled" href="https://codepen.io/U_B_U/pen/JjoqmGV?editors=1000" title="https://codepen.io/U_B_U/pen/JjoqmGV?editors=1000"&gt;https://codepen.io/U_B_U/pen/JjoqmGV?editors=1000&lt;/A&gt;&amp;nbsp;is shown at different zoom depending on turning on/off cache in browser. I thought that it might be a bug in ArcGIS JS API and is interesting to you.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2020 08:29:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-adding-a-tilelayer-to-the-map-changes-zoom-of/m-p/699179#M65118</guid>
      <dc:creator>AlexanderParshin</dc:creator>
      <dc:date>2020-01-31T08:29:12Z</dc:date>
    </item>
  </channel>
</rss>

