<?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: Convert extent width &amp;amp; height to zoom in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/convert-extent-width-amp-height-to-zoom/m-p/1022989#M71615</link>
    <description>&lt;P&gt;When you say object extent, what are you referring to exactly?&amp;nbsp; Found this codepen &lt;A href="https://codepen.io/pen?editors=1000" target="_blank" rel="noopener"&gt;Watching map view extents&lt;/A&gt; where you can add an output for view.zoom, change the initial extent to your values and then maybe get the zoom.&amp;nbsp; ... But the Zoom levels (LOD) are predetermined by the map service, so that could be interesting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Feb 2021 15:09:16 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2021-02-03T15:09:16Z</dc:date>
    <item>
      <title>Convert extent width &amp; height to zoom</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/convert-extent-width-amp-height-to-zoom/m-p/1022546#M71591</link>
      <description>&lt;P&gt;Hello, is there a function in the JS API that convert a certain extent object to the lat, lng, zoom,&lt;BR /&gt;I found the center which contains the lat &amp;amp; lng,&lt;BR /&gt;I am searching for somehow convert the "width" &amp;amp; "height" to "zoom" value.&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Khaled&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 15:03:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/convert-extent-width-amp-height-to-zoom/m-p/1022546#M71591</guid>
      <dc:creator>KhaledTaymour</dc:creator>
      <dc:date>2021-02-02T15:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Convert extent width &amp; height to zoom</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/convert-extent-width-amp-height-to-zoom/m-p/1022989#M71615</link>
      <description>&lt;P&gt;When you say object extent, what are you referring to exactly?&amp;nbsp; Found this codepen &lt;A href="https://codepen.io/pen?editors=1000" target="_blank" rel="noopener"&gt;Watching map view extents&lt;/A&gt; where you can add an output for view.zoom, change the initial extent to your values and then maybe get the zoom.&amp;nbsp; ... But the Zoom levels (LOD) are predetermined by the map service, so that could be interesting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 15:09:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/convert-extent-width-amp-height-to-zoom/m-p/1022989#M71615</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-02-03T15:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Convert extent width &amp; height to zoom</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/convert-extent-width-amp-height-to-zoom/m-p/1023001#M71616</link>
      <description>&lt;P&gt;Is this so you can zoom the map to a particular extent? If so,&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#goTo" target="_self"&gt;MapView.goTo()&lt;/A&gt; works with the Extent object.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/featurelayer-queryextent/" target="_blank" rel="noopener"&gt;Zoom to extent of all features | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 15:47:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/convert-extent-width-amp-height-to-zoom/m-p/1023001#M71616</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2021-02-03T15:47:31Z</dc:date>
    </item>
  </channel>
</rss>

