<?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: How to determine whether the map is at the maximum zoom level in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-determine-whether-the-map-is-at-the-maximum/m-p/268823#M24763</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Steve,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can use following to get the min and max level of map&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
map._slider.maximum
map._slider.minimum
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can compare the current level of map with the max or min level.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 13:10:00 GMT</pubDate>
    <dc:creator>RahulMetangale1</dc:creator>
    <dc:date>2021-12-11T13:10:00Z</dc:date>
    <item>
      <title>How to determine whether the map is at the maximum zoom level</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-determine-whether-the-map-is-at-the-maximum/m-p/268822#M24762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there a property on the map to show whether it is already at the maximum zoom level (that is, it's not possible to zoom in any further)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The map can return its current zoom level using &lt;/SPAN&gt;&lt;STRONG&gt;map.getLevel()&lt;/STRONG&gt;&lt;SPAN&gt;, but how can I determine whether this is the maximum level? (I'm looking for generic functionality so I can't guarantee that the map has LODs specified, and I can't guarantee that the Zoom slider is present - two workarounds I already considered)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 00:56:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-determine-whether-the-map-is-at-the-maximum/m-p/268822#M24762</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2012-07-04T00:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine whether the map is at the maximum zoom level</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-determine-whether-the-map-is-at-the-maximum/m-p/268823#M24763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Steve,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can use following to get the min and max level of map&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
map._slider.maximum
map._slider.minimum
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can compare the current level of map with the max or min level.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:10:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-determine-whether-the-map-is-at-the-maximum/m-p/268823#M24763</guid>
      <dc:creator>RahulMetangale1</dc:creator>
      <dc:date>2021-12-11T13:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine whether the map is at the maximum zoom level</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-determine-whether-the-map-is-at-the-maximum/m-p/268824#M24764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN style="color: #000000; font-family: arial;"&gt;Thanks for the tip - looks like a reasonable workaround.&lt;BR /&gt;&lt;BR /&gt;Is it valid to depend on properties with an underscore (as with map._slider)? &lt;/SPAN&gt;&lt;SPAN&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: arial;"&gt;I always thought they were not fully supported and shouldn't be used?&lt;/SPAN&gt;&lt;SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: arial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: arial;"&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 01:09:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-determine-whether-the-map-is-at-the-maximum/m-p/268824#M24764</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2012-07-05T01:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine whether the map is at the maximum zoom level</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-determine-whether-the-map-is-at-the-maximum/m-p/268825#M24765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Till now i have not come across any issue in using this property.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 03:55:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-determine-whether-the-map-is-at-the-maximum/m-p/268825#M24765</guid>
      <dc:creator>RahulMetangale1</dc:creator>
      <dc:date>2012-07-05T03:55:13Z</dc:date>
    </item>
  </channel>
</rss>

