<?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 get whole particular state map(tpk file) locally in the device in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-get-whole-particular-state-map-tpk-file/m-p/55103#M524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need ArcGIS Pro or ArcMap or Runtime to create a tpk. Of course if you already have a tpk file, you can just consume it in your Runtime app.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want the app to start with the downloaded tpk file, there are a couple of options&lt;/P&gt;&lt;P&gt;- Use ArcMap or Pro to create tpk file. In your iOS app, use AGSTileCache class to load this file. You would then create an instance of AGSArcGISTiledLayer which can then be displayed as a base map.&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Create a &lt;A href="http://pro.arcgis.com/en/pro-app/help/sharing/overview/mobile-map-package.htm"&gt;mobile map package&lt;/A&gt; in Pro which can bundle base maps into a .mmpk file. (A mobile map package can also include operational data, geocoders and network datasets in addition to base layers)&lt;/P&gt;&lt;P&gt;Check out &lt;A href="https://developers.arcgis.com/ios/latest/swift/sample-code/open-mobile-map-package.htm"&gt;this&lt;/A&gt; sample on how to use mobile map package in your iOS&amp;nbsp;app.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jan 2017 19:11:07 GMT</pubDate>
    <dc:creator>SuganyaBaskaran1</dc:creator>
    <dc:date>2017-01-26T19:11:07Z</dc:date>
    <item>
      <title>How to get whole particular state map(tpk file) locally in the device</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-get-whole-particular-state-map-tpk-file/m-p/55100#M521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV style="color: #222222; font-size: small;"&gt;Hi,&lt;/DIV&gt;&lt;DIV style="color: #222222; font-size: small;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #222222; font-size: small;"&gt;I want to put whole particular state map(tpk file) locally in the device so that I can access it when the user has a low internet connection or not. This tpk file will work as same as online map means I can go any zoom in level and can see the address.&lt;/DIV&gt;&lt;DIV style="color: #222222; font-size: small;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #222222; font-size: small;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #222222; font-size: small;"&gt;How will I achieve that thing?&lt;/DIV&gt;&lt;DIV style="color: #222222; font-size: small;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #222222; font-size: small;"&gt;Thanks,&lt;/DIV&gt;&lt;DIV style="color: #222222; font-size: small;"&gt;Kamal&lt;/DIV&gt;&lt;DIV style="color: #222222; font-size: small;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 18:11:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-get-whole-particular-state-map-tpk-file/m-p/55100#M521</guid>
      <dc:creator>KamalMittal</dc:creator>
      <dc:date>2017-01-26T18:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to get whole particular state map(tpk file) locally in the device</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-get-whole-particular-state-map-tpk-file/m-p/55101#M522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;You can use&amp;nbsp;the SDK's `&lt;/SPAN&gt;&lt;A href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdevelopers.arcgis.com%2Fios%2Flatest%2Fapi-reference%2Finterface_a_g_s_export_tile_cache_task.html" rel="nofollow" style="color: #287433; border: 0px;" target="_blank"&gt;AGSExportTileCacheTask&lt;/A&gt;&lt;SPAN style="background-color: #ffffff;"&gt;` to&amp;nbsp;generate tile package.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Check out &lt;A href="https://developers.arcgis.com/ios/latest/swift/sample-code/export-tiles.htm"&gt;this&lt;/A&gt; sample.&amp;nbsp;Set&amp;nbsp;AGSExportTileCacheParameters.levelIDs to include all the Levels of Details your cached map service supports. This should allow you to zoom to any level in a disconnected environment. Note that&amp;nbsp;the&amp;nbsp;server could restrict the maximum number of tiles you can download.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;You are also encouraged to estimate the size of such a download before actually doing so. This can be done&amp;nbsp;using estimateTileCacheSizeJobWithParameters(..) method on AGSExportTileCacheTask.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Alternatively, if you would be using the same tile package&amp;nbsp;in many&amp;nbsp;devices,&amp;nbsp;you can also use&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fdesktop.arcgis.com%2Fen%2Farcmap%2F10.3%2Fmap%2Fworking-with-arcmap%2Fabout-tile-packages.htm" rel="nofollow" style="color: #287433; border: 0px;" target="_blank"&gt;ArcMap&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;or&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fpro.arcgis.com%2Fen%2Fpro-app%2Ftool-reference%2Fdata-management%2Fcreate-map-tile-package.htm" rel="nofollow" style="color: #287433; border: 0px;" target="_blank"&gt;Pro&lt;/A&gt;&amp;nbsp;to author the tpk and side load them to the devices.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 18:44:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-get-whole-particular-state-map-tpk-file/m-p/55101#M522</guid>
      <dc:creator>SuganyaBaskaran1</dc:creator>
      <dc:date>2017-01-26T18:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to get whole particular state map(tpk file) locally in the device</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-get-whole-particular-state-map-tpk-file/m-p/55102#M523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't want to give an option to the user to download tpk file. This tpk file will be present when user installs app. So how can I&amp;nbsp;get this tpk file without ArcGIS&amp;nbsp;runtime library and ArcPro or ArcMap?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kamal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 18:51:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-get-whole-particular-state-map-tpk-file/m-p/55102#M523</guid>
      <dc:creator>KamalMittal</dc:creator>
      <dc:date>2017-01-26T18:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to get whole particular state map(tpk file) locally in the device</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-get-whole-particular-state-map-tpk-file/m-p/55103#M524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need ArcGIS Pro or ArcMap or Runtime to create a tpk. Of course if you already have a tpk file, you can just consume it in your Runtime app.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want the app to start with the downloaded tpk file, there are a couple of options&lt;/P&gt;&lt;P&gt;- Use ArcMap or Pro to create tpk file. In your iOS app, use AGSTileCache class to load this file. You would then create an instance of AGSArcGISTiledLayer which can then be displayed as a base map.&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Create a &lt;A href="http://pro.arcgis.com/en/pro-app/help/sharing/overview/mobile-map-package.htm"&gt;mobile map package&lt;/A&gt; in Pro which can bundle base maps into a .mmpk file. (A mobile map package can also include operational data, geocoders and network datasets in addition to base layers)&lt;/P&gt;&lt;P&gt;Check out &lt;A href="https://developers.arcgis.com/ios/latest/swift/sample-code/open-mobile-map-package.htm"&gt;this&lt;/A&gt; sample on how to use mobile map package in your iOS&amp;nbsp;app.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 19:11:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-get-whole-particular-state-map-tpk-file/m-p/55103#M524</guid>
      <dc:creator>SuganyaBaskaran1</dc:creator>
      <dc:date>2017-01-26T19:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to get whole particular state map(tpk file) locally in the device</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-get-whole-particular-state-map-tpk-file/m-p/55104#M525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Suganya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of creating ArcMap or ArcPro, can I download map of particular state with all zoom levels(let suppose newyork&amp;nbsp;state) automatically without getting any input from user when user open app first time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kamal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 19:17:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-get-whole-particular-state-map-tpk-file/m-p/55104#M525</guid>
      <dc:creator>KamalMittal</dc:creator>
      <dc:date>2017-01-26T19:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to get whole particular state map(tpk file) locally in the device</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-get-whole-particular-state-map-tpk-file/m-p/55105#M526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you can do that with ExportTileCacheTask I mentioned in the first comment though the users would have to wait until the download is complete before they can interact with the tiles. Take a look at the sample, instead of getting the user defined area, you could include levels of details directly in the code.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 00:23:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-get-whole-particular-state-map-tpk-file/m-p/55105#M526</guid>
      <dc:creator>SuganyaBaskaran1</dc:creator>
      <dc:date>2017-01-27T00:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to get whole particular state map(tpk file) locally in the device</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-get-whole-particular-state-map-tpk-file/m-p/55106#M527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;Below is the code which I am using to download tpk file when first-time application load. Here I am stuck in one place. What parameter am I need to pass in below function(showing with ????). Currently, I want to download new york city map.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;STRONG style="background-color: #f6f6f6;"&gt;&lt;SPAN class=""&gt;self&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;exportTask&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;exportTileCacheParametersWithAreaOfInterest&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;?????&lt;/SPAN&gt;&lt;SPAN class=""&gt;, minScale: &lt;/SPAN&gt;&lt;SPAN class=""&gt;????,&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;maxScale: ????&lt;/SPAN&gt;&lt;SPAN class=""&gt;) &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;override&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;func&lt;/SPAN&gt;&lt;SPAN class=""&gt; viewDidLoad() {&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;super&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;viewDidLoad&lt;/SPAN&gt;&lt;SPAN class=""&gt;()&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;self&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;tiledLayer&lt;/SPAN&gt;&lt;SPAN class=""&gt; = &lt;/SPAN&gt;&lt;SPAN class=""&gt;AGSArcGISTiledLayer&lt;/SPAN&gt;&lt;SPAN class=""&gt;(URL: &lt;/SPAN&gt;&lt;SPAN class=""&gt;NSURL&lt;/SPAN&gt;&lt;SPAN class=""&gt;(string: &lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fservices.arcgisonline.com%2FArcGIS%2Frest%2Fservices%2FWorld_Street_Map%2FMapServer" rel="nofollow" target="_blank"&gt;http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;)!)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;let&lt;/SPAN&gt;&lt;SPAN class=""&gt; map = &lt;/SPAN&gt;&lt;SPAN class=""&gt;AGSMap&lt;/SPAN&gt;&lt;SPAN class=""&gt;(basemap: &lt;/SPAN&gt;&lt;SPAN class=""&gt;AGSBasemap&lt;/SPAN&gt;&lt;SPAN class=""&gt;(baseLayer: &lt;/SPAN&gt;&lt;SPAN class=""&gt;self&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;tiledLayer&lt;/SPAN&gt;&lt;SPAN class=""&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;self&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;mapView&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;map&lt;/SPAN&gt;&lt;SPAN class=""&gt; = map&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN style="background-color: #f6f6f6;"&gt;initiateDownload()&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;private&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;func&lt;/SPAN&gt;&lt;SPAN class=""&gt; initiateDownload() {&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;//initialize the export task&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;self&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;exportTask&lt;/SPAN&gt;&lt;SPAN class=""&gt; = &lt;/SPAN&gt;&lt;SPAN class=""&gt;AGSExportTileCacheTask&lt;/SPAN&gt;&lt;SPAN class=""&gt;(URL: &lt;/SPAN&gt;&lt;SPAN class=""&gt;self&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;tiledLayer&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;URL&lt;/SPAN&gt;&lt;SPAN class=""&gt;!)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;STRONG style="background-color: #f6f6f6;"&gt;&lt;SPAN class=""&gt;self&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;exportTask&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;exportTileCacheParametersWithAreaOfInterest&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;?????&lt;/SPAN&gt;&lt;SPAN class=""&gt;, minScale: &lt;/SPAN&gt;&lt;SPAN class=""&gt;????,&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;maxScale: ????&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;{ [weak &lt;/SPAN&gt;&lt;SPAN class=""&gt;self&lt;/SPAN&gt;&lt;SPAN class=""&gt;] (params: &lt;/SPAN&gt;&lt;SPAN class=""&gt;AGSExportTileCacheParameters&lt;/SPAN&gt;&lt;SPAN class=""&gt;?, error: &lt;/SPAN&gt;&lt;SPAN class=""&gt;NSError&lt;/SPAN&gt;&lt;SPAN class=""&gt;?) &lt;/SPAN&gt;&lt;SPAN class=""&gt;in&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;if&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;let&lt;/SPAN&gt;&lt;SPAN class=""&gt; error = error {&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;SVProgressHUD&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;showErrorWithStatus&lt;/SPAN&gt;&lt;SPAN class=""&gt;(error.&lt;/SPAN&gt;&lt;SPAN class=""&gt;localizedDescription&lt;/SPAN&gt;&lt;SPAN class=""&gt;, maskType: .&lt;/SPAN&gt;&lt;SPAN class=""&gt;Gradient&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;else&lt;/SPAN&gt;&lt;SPAN class=""&gt; {&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;self&lt;/SPAN&gt;&lt;SPAN class=""&gt;?.&lt;/SPAN&gt;&lt;SPAN class=""&gt;exportTilesUsingParameters&lt;/SPAN&gt;&lt;SPAN class=""&gt;(params!)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;private&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;func&lt;/SPAN&gt;&lt;SPAN class=""&gt; exportTilesUsingParameters(params: &lt;/SPAN&gt;&lt;SPAN class=""&gt;AGSExportTileCacheParameters&lt;/SPAN&gt;&lt;SPAN class=""&gt;) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;//destination path for the tpk, including name&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;let&lt;/SPAN&gt;&lt;SPAN class=""&gt; path = &lt;/SPAN&gt;&lt;SPAN class=""&gt;NSSearchPathForDirectoriesInDomains&lt;/SPAN&gt;&lt;SPAN class=""&gt;(.&lt;/SPAN&gt;&lt;SPAN class=""&gt;DocumentDirectory&lt;/SPAN&gt;&lt;SPAN class=""&gt;, .&lt;/SPAN&gt;&lt;SPAN class=""&gt;UserDomainMask&lt;/SPAN&gt;&lt;SPAN class=""&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;true&lt;/SPAN&gt;&lt;SPAN class=""&gt;)[&lt;/SPAN&gt;&lt;SPAN class=""&gt;0&lt;/SPAN&gt;&lt;SPAN class=""&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;let&lt;/SPAN&gt;&lt;SPAN class=""&gt; destinationPath = &lt;/SPAN&gt;&lt;SPAN class=""&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;\&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;path&lt;/SPAN&gt;&lt;SPAN class=""&gt;)/myTileCache.tpk"&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;//get the job&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;self&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;job&lt;/SPAN&gt;&lt;SPAN class=""&gt; = &lt;/SPAN&gt;&lt;SPAN class=""&gt;self&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;exportTask&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;exportTileCacheJobWithParameters&lt;/SPAN&gt;&lt;SPAN class=""&gt;(params, downloadFileURL: &lt;/SPAN&gt;&lt;SPAN class=""&gt;NSURL&lt;/SPAN&gt;&lt;SPAN class=""&gt;(string: destinationPath)!)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;//run the job&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;self&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;job&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;startWithStatusHandler&lt;/SPAN&gt;&lt;SPAN class=""&gt;({ (status: &lt;/SPAN&gt;&lt;SPAN class=""&gt;AGSJobStatus&lt;/SPAN&gt;&lt;SPAN class=""&gt;) -&amp;gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;Void&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;in&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;//show job status&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;SVProgressHUD&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;showWithStatus&lt;/SPAN&gt;&lt;SPAN class=""&gt;(status.&lt;/SPAN&gt;&lt;SPAN class=""&gt;statusString&lt;/SPAN&gt;&lt;SPAN class=""&gt;(), maskType: .&lt;/SPAN&gt;&lt;SPAN class=""&gt;Gradient&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}) { [weak &lt;/SPAN&gt;&lt;SPAN class=""&gt;self&lt;/SPAN&gt;&lt;SPAN class=""&gt;] (result: &lt;/SPAN&gt;&lt;SPAN class=""&gt;AnyObject&lt;/SPAN&gt;&lt;SPAN class=""&gt;?, error: &lt;/SPAN&gt;&lt;SPAN class=""&gt;NSError&lt;/SPAN&gt;&lt;SPAN class=""&gt;?) -&amp;gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;Void&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;in&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;self&lt;/SPAN&gt;&lt;SPAN class=""&gt;?.&lt;/SPAN&gt;&lt;SPAN class=""&gt;downloading&lt;/SPAN&gt;&lt;SPAN class=""&gt; = &lt;/SPAN&gt;&lt;SPAN class=""&gt;false&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;if&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;let&lt;/SPAN&gt;&lt;SPAN class=""&gt; error = error {&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;SVProgressHUD&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;showErrorWithStatus&lt;/SPAN&gt;&lt;SPAN class=""&gt;(error.&lt;/SPAN&gt;&lt;SPAN class=""&gt;localizedFailureReason&lt;/SPAN&gt;&lt;SPAN class=""&gt;, maskType: .&lt;/SPAN&gt;&lt;SPAN class=""&gt;Gradient&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;else&lt;/SPAN&gt;&lt;SPAN class=""&gt; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;//hide progress view&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;SVProgressHUD&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;dismiss&lt;/SPAN&gt;&lt;SPAN class=""&gt;()&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;self&lt;/SPAN&gt;&lt;SPAN class=""&gt;?.&lt;/SPAN&gt;&lt;SPAN class=""&gt;visualEffectView&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;hidden&lt;/SPAN&gt;&lt;SPAN class=""&gt; = &lt;/SPAN&gt;&lt;SPAN class=""&gt;false&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;and How to set&amp;nbsp;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;AGSExportTileCacheParameters.levelIDs to include all the Levels of Details &amp;nbsp;and how to use&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;estimateTileCacheSizeJobWithParameters(..) here.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;Kamal&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 11:53:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-get-whole-particular-state-map-tpk-file/m-p/55106#M527</guid>
      <dc:creator>KamalMittal</dc:creator>
      <dc:date>2017-01-27T11:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to get whole particular state map(tpk file) locally in the device</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-get-whole-particular-state-map-tpk-file/m-p/55107#M528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi @&lt;A _jive_internal="true" data-userid="248620" data-username="kamalmtxb2b" href="https://community.esri.com/people/kamalmtxb2b" style="color: #3778c7; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: underline; font-size: 1.286rem;" target="_blank"&gt;Kamal Mittal&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You need to pass the AGSGeometry into this method:&lt;/P&gt;&lt;TABLE style="color: #362b1f; font-weight: 400; font-size: 14px; margin-left: 6px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="" style="font-weight: 400; margin-left: 6px;"&gt;exportTileCacheParametersWithAreaOfInterest:&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD class=""&gt;(&lt;A href="https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_geometry.html" style="color: #7a6045; font-weight: bold;" rel="nofollow noopener noreferrer" target="_blank"&gt;AGSGeometry&lt;/A&gt; *)&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;Feel free to take a look about this API reference for 100.0.0:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_export_tile_cache_task.html#addfe9d02b05a6d45f2d27df770346cd2" title="https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_export_tile_cache_task.html#addfe9d02b05a6d45f2d27df770346cd2" rel="nofollow noopener noreferrer" target="_blank"&gt;ArcGIS Runtime SDK for iOS: AGSExportTileCacheTask Class Reference&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more detail information about how to create an AGSGeometry, please check this guide:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/ios/latest/swift/guide/geometries.htm" title="https://developers.arcgis.com/ios/latest/swift/guide/geometries.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;Geometries—ArcGIS Runtime SDK for iOS | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example this snippet code showing how to create an AGSGeometry for tpk:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;let tpkGeometry&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt; AGSGeometry&lt;SPAN class="operator token"&gt;!&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
tpkGeometry&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;extent &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;AGSEnvelope&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;XMin&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;123.0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; yMin&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;33.5&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; xMax&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;101.0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; yMax&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;48.0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; 
spatialReference&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt; AGSSpatialReference&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;WGS84&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&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;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this can help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:05:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-get-whole-particular-state-map-tpk-file/m-p/55107#M528</guid>
      <dc:creator>YueWu1</dc:creator>
      <dc:date>2021-12-10T22:05:56Z</dc:date>
    </item>
  </channel>
</rss>

