<?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 How to get min and maxScale value in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-get-min-and-maxscale-value/m-p/1414071#M7764</link>
    <description>&lt;P&gt;Hi Experts,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to cache the map, I'm using&amp;nbsp;AGSExportTileCacheParameters and the method as&amp;nbsp;exportTileCacheParametersWithAreaOfInterest. This method expects minScale and maxScale value. Can someone please tell me how to get these values correctly so that caching the map doesnt take much time?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, can someone tell me how to set the zoom slider value(it also expects currentZoomLevel and maxLevelForCaching).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Adv,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ajitesh&lt;/P&gt;</description>
    <pubDate>Tue, 23 Apr 2024 12:47:52 GMT</pubDate>
    <dc:creator>AjiteshUpadhyaya</dc:creator>
    <dc:date>2024-04-23T12:47:52Z</dc:date>
    <item>
      <title>How to get min and maxScale value</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-get-min-and-maxscale-value/m-p/1414071#M7764</link>
      <description>&lt;P&gt;Hi Experts,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to cache the map, I'm using&amp;nbsp;AGSExportTileCacheParameters and the method as&amp;nbsp;exportTileCacheParametersWithAreaOfInterest. This method expects minScale and maxScale value. Can someone please tell me how to get these values correctly so that caching the map doesnt take much time?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, can someone tell me how to set the zoom slider value(it also expects currentZoomLevel and maxLevelForCaching).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Adv,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ajitesh&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 12:47:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-get-min-and-maxscale-value/m-p/1414071#M7764</guid>
      <dc:creator>AjiteshUpadhyaya</dc:creator>
      <dc:date>2024-04-23T12:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to get min and maxScale value</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-get-min-and-maxscale-value/m-p/1414258#M7765</link>
      <description>&lt;P&gt;Please see these lines in the Samples app&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://github.com/Esri/arcgis-runtime-samples-ios/blob/main/arcgis-ios-sdk-samples/Layers/Export%20tiles/ExportTilesViewController.swift#L26" target="_blank"&gt;https://github.com/Esri/arcgis-runtime-samples-ios/blob/main/arcgis-ios-sdk-samples/Layers/Export%20tiles/ExportTilesViewController.swift#L26&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://github.com/Esri/arcgis-runtime-samples-ios/blob/main/arcgis-ios-sdk-samples/Layers/Export%20tiles/ExportTilesViewController.swift#L102-L109" target="_blank"&gt;https://github.com/Esri/arcgis-runtime-samples-ios/blob/main/arcgis-ios-sdk-samples/Layers/Export%20tiles/ExportTilesViewController.swift#L102-L109&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The &lt;EM&gt;minScale&lt;/EM&gt; on a map view means how far you can zoom out. The &lt;EM&gt;maxScale&lt;/EM&gt; on a tiled layer means how detailed the layer you can zoom into.&lt;/P&gt;&lt;P&gt;So, in order to limit the download file size, you can&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;make the &lt;EM&gt;minScale&lt;/EM&gt; value smaller, so the biggest displayable area is smaller, say to a city, or a state. e.g., 10^7 -&amp;gt; 10^5 means the map is zoomed in 100x.&lt;/LI&gt;&lt;LI&gt;make the &lt;EM&gt;maxScale&lt;/EM&gt; value bigger, so the level of detail is less detailed.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Typically, setting the scales according to the level of detail you want is a recommended practice, so that the tiles are most efficiently used to their highest resolution.&lt;/P&gt;&lt;P&gt;Depending on your usecase, choose the min and max scale to make the download more efficient.&lt;/P&gt;&lt;P&gt;See this page for an understanding of how level of detail is related to the scales.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://developers.arcgis.com/documentation/mapping-apis-and-services/reference/zoom-levels-and-scale/#conversion-tool" target="_blank"&gt;https://developers.arcgis.com/documentation/mapping-apis-and-services/reference/zoom-levels-and-scale/#conversion-tool&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure what the "zoom slider" is referring to, but you should get an idea from the above article.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 16:59:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-get-min-and-maxscale-value/m-p/1414258#M7765</guid>
      <dc:creator>Ting</dc:creator>
      <dc:date>2024-04-23T16:59:30Z</dc:date>
    </item>
  </channel>
</rss>

