<?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 Issue with 4.22 and zoom property in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-4-22-and-zoom-property/m-p/1132810#M75877</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;On some of our maps (typically the ones with a local projection), it fails to load at all and we are getting an error in the console related to the "viewPoint" js file.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MatthieuThery1_2-1641985739824.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/31282i4D34D82AF2AC3246/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MatthieuThery1_2-1641985739824.png" alt="MatthieuThery1_2-1641985739824.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I located the issue to be the zoom property when instanciating the MapView.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MatthieuThery1_0-1641985620047.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/31280i621AF24A6826DADD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MatthieuThery1_0-1641985620047.png" alt="MatthieuThery1_0-1641985620047.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The workaround I found, is to remove that property and zoom right after.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MatthieuThery1_1-1641985669952.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/31281i84A78DE406012D42/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MatthieuThery1_1-1641985669952.png" alt="MatthieuThery1_1-1641985669952.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It was working fine in 4.21.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jan 2022 11:09:43 GMT</pubDate>
    <dc:creator>MatthieuThery1</dc:creator>
    <dc:date>2022-01-12T11:09:43Z</dc:date>
    <item>
      <title>Issue with 4.22 and zoom property</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-4-22-and-zoom-property/m-p/1132810#M75877</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;On some of our maps (typically the ones with a local projection), it fails to load at all and we are getting an error in the console related to the "viewPoint" js file.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MatthieuThery1_2-1641985739824.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/31282i4D34D82AF2AC3246/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MatthieuThery1_2-1641985739824.png" alt="MatthieuThery1_2-1641985739824.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I located the issue to be the zoom property when instanciating the MapView.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MatthieuThery1_0-1641985620047.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/31280i621AF24A6826DADD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MatthieuThery1_0-1641985620047.png" alt="MatthieuThery1_0-1641985620047.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The workaround I found, is to remove that property and zoom right after.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MatthieuThery1_1-1641985669952.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/31281i84A78DE406012D42/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MatthieuThery1_1-1641985669952.png" alt="MatthieuThery1_1-1641985669952.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It was working fine in 4.21.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 11:09:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-4-22-and-zoom-property/m-p/1132810#M75877</guid>
      <dc:creator>MatthieuThery1</dc:creator>
      <dc:date>2022-01-12T11:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with 4.22 and zoom property</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-4-22-and-zoom-property/m-p/1132862#M75880</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/226130"&gt;@MatthieuThery1&lt;/a&gt;,&amp;nbsp;can you share a simplified test-app that reproduces the issue? I might be confused, but how can the `zoom` variable be both a valid zoom value and a valid goTo object?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 14:30:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-4-22-and-zoom-property/m-p/1132862#M75880</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2022-01-12T14:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with 4.22 and zoom property</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-4-22-and-zoom-property/m-p/1135046#M75991</link>
      <description>&lt;P&gt;In the new MapView do:&lt;/P&gt;&lt;P&gt;zoom: 1&lt;/P&gt;&lt;P&gt;Play around with the value until you get the desired zoom level.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 17:09:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-4-22-and-zoom-property/m-p/1135046#M75991</guid>
      <dc:creator>MatthewDriscoll</dc:creator>
      <dc:date>2022-01-19T17:09:53Z</dc:date>
    </item>
  </channel>
</rss>

