<?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: Extent in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extent/m-p/749853#M69364</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/341586"&gt;irtiza hussain&lt;/A&gt;&amp;nbsp;what Robert posted is correct. The 2D MapView does not contain an altitude property. Please refer to the documentation here:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#constraints" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#constraints"&gt;MapView | API Reference | ArcGIS API for JavaScript 4.10&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if you are working with a 3D SceneView, then your code looks fine to me. Here is an example app showing what I think you are trying to accomplish:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://codepen.io/noash/pen/vvJNjE" title="https://codepen.io/noash/pen/vvJNjE"&gt;SceneView Constraints&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you see any errors in the browser console? Please feel free to refer to the relevant documentation here:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#constraints" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#constraints"&gt;SceneView | API Reference | ArcGIS API for JavaScript 4.10&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Dec 2018 21:27:44 GMT</pubDate>
    <dc:creator>Noah-Sager</dc:creator>
    <dc:date>2018-12-26T21:27:44Z</dc:date>
    <item>
      <title>Extent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extent/m-p/749846#M69357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to fix the zoom out extend , in my code zoom in extend is working fine but i want to set zoom out extend as well.&lt;/P&gt;&lt;P&gt;this is the code where min is fine but max is not working !!&lt;/P&gt;&lt;P&gt;zoom: 5,&lt;BR /&gt; constraints: {&lt;BR /&gt; altitude: {&lt;BR /&gt; min: 100,&amp;nbsp; //for zoom in&lt;BR /&gt; max: 10210&amp;nbsp; //for zoom out&lt;BR /&gt; }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2018 10:05:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extent/m-p/749846#M69357</guid>
      <dc:creator>irtizahussain</dc:creator>
      <dc:date>2018-12-20T10:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Extend</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extent/m-p/749847#M69358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where i'm using MapView, 4x version in my project.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2018 10:40:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extent/m-p/749847#M69358</guid>
      <dc:creator>irtizahussain</dc:creator>
      <dc:date>2018-12-20T10:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Extent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extent/m-p/749848#M69359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Irtiza,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Not sure how you can up with the altitude property in the &lt;SPAN style="background-color: #ffffff;"&gt;constraints for a MapView. Altitude is only for a SceneView.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Here is how you set the min and max scale for a MapView:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;view&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;constraints &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp; minScale&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;500000&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN class="comment token"&gt;// User cannot zoom out beyond a scale of 1:500,000&lt;/SPAN&gt;
&amp;nbsp; maxScale&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN class="comment token"&gt;// User can overzoom tiles&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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:51:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extent/m-p/749848#M69359</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-12T07:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Extent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extent/m-p/749849#M69360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sir, this is not working on my project.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2018 10:44:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extent/m-p/749849#M69360</guid>
      <dc:creator>irtizahussain</dc:creator>
      <dc:date>2018-12-21T10:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: Extent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extent/m-p/749850#M69361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Irtiza,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I would have to see how you added that to your code then, because that works fine for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2018 13:33:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extent/m-p/749850#M69361</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-12-21T13:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Extent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extent/m-p/749851#M69362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sir i already posted the code above which i used to set extend.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Dec 2018 12:54:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extent/m-p/749851#M69362</guid>
      <dc:creator>irtizahussain</dc:creator>
      <dc:date>2018-12-24T12:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Extent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extent/m-p/749852#M69363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;I am asking you to post your full code after my suggested code change. You have to have something wrong in your code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Dec 2018 13:51:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extent/m-p/749852#M69363</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-12-24T13:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Extent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extent/m-p/749853#M69364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/341586"&gt;irtiza hussain&lt;/A&gt;&amp;nbsp;what Robert posted is correct. The 2D MapView does not contain an altitude property. Please refer to the documentation here:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#constraints" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#constraints"&gt;MapView | API Reference | ArcGIS API for JavaScript 4.10&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if you are working with a 3D SceneView, then your code looks fine to me. Here is an example app showing what I think you are trying to accomplish:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://codepen.io/noash/pen/vvJNjE" title="https://codepen.io/noash/pen/vvJNjE"&gt;SceneView Constraints&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you see any errors in the browser console? Please feel free to refer to the relevant documentation here:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#constraints" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#constraints"&gt;SceneView | API Reference | ArcGIS API for JavaScript 4.10&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2018 21:27:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extent/m-p/749853#M69364</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2018-12-26T21:27:44Z</dc:date>
    </item>
  </channel>
</rss>

