<?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: TileCache+Local database vs AGSGenerateOfflineMap in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/tilecache-local-database-vs-agsgenerateofflinemap/m-p/398168#M3421</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, that's correct. Behind the scenes, &lt;A href="https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_generate_offline_map_job.html"&gt;&lt;STRONG&gt;AGSGenerateOfflineMapJob&lt;/STRONG&gt;&lt;/A&gt; will do the work you previously had to do manually in collecting the various layers together and setting a map up to use them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can still use the old method if you like, but the GenerateOfflineMapJob is much simpler and takes care of a lot of the hard work. Generally you can use this unless you have very specific needs for taking your data offline, in which case you can lean on the older per-service based approach. See this video from the 2019 DevSummit for more details:&amp;nbsp;&lt;A class="link-titled" href="https://youtu.be/r0DP4c1IbEo?t=1339" title="https://youtu.be/r0DP4c1IbEo?t=1339"&gt;ArcGIS Runtime: Working with Maps Online and Offline&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that there's also the Preplanned workflow which may be suitable, depending on your use cases. It's also discussed in the above video. Both AGSGenerateOfflineMapJob and AGSDownloadPreplannedOfflineMapJob are created using&amp;nbsp;the &lt;A href="https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_offline_map_task.html"&gt;&lt;STRONG&gt;AGSOfflineMapTask&lt;/STRONG&gt;&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Jun 2019 17:35:17 GMT</pubDate>
    <dc:creator>Nicholas-Furness</dc:creator>
    <dc:date>2019-06-11T17:35:17Z</dc:date>
    <item>
      <title>TileCache+Local database vs AGSGenerateOfflineMap</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/tilecache-local-database-vs-agsgenerateofflinemap/m-p/398167#M3420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been looking through the sample code and Esri videos trying to figure out the best approach, and I've come across two approaches that might be equivalent but I'm not sure. At&amp;nbsp;&lt;A class="link-titled" href="https://youtu.be/eGCLdd3iRnA?t=3486" title="https://youtu.be/eGCLdd3iRnA?t=3486"&gt;ArcGIS Enterprise: Best Practices for Layers and Service Types - YouTube&lt;/A&gt;&amp;nbsp;they describe exactly what I want, however they use separate layer services and I'm currently using a single map containing multiple layers. This is similar to the iOS Data Collection sample code (&lt;A class="link-titled" href="https://developers.arcgis.com/example-apps/data-collection-ios/" title="https://developers.arcgis.com/example-apps/data-collection-ios/"&gt;Data Collection for iOS | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;), but they use&amp;nbsp;AGSGenerateOfflineMap. Does&amp;nbsp;&lt;SPAN&gt;AGSGenerateOfflineMap automatically do what is described in the video, as far as using a local Tile Cache and a Geodatabase, if&amp;nbsp;the map contains a Vector Tile layer and a Feature layer, or will I need to do additional work to get the local caching described in the video?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2019 14:39:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/tilecache-local-database-vs-agsgenerateofflinemap/m-p/398167#M3420</guid>
      <dc:creator>SteveMiller4</dc:creator>
      <dc:date>2019-06-03T14:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: TileCache+Local database vs AGSGenerateOfflineMap</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/tilecache-local-database-vs-agsgenerateofflinemap/m-p/398168#M3421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, that's correct. Behind the scenes, &lt;A href="https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_generate_offline_map_job.html"&gt;&lt;STRONG&gt;AGSGenerateOfflineMapJob&lt;/STRONG&gt;&lt;/A&gt; will do the work you previously had to do manually in collecting the various layers together and setting a map up to use them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can still use the old method if you like, but the GenerateOfflineMapJob is much simpler and takes care of a lot of the hard work. Generally you can use this unless you have very specific needs for taking your data offline, in which case you can lean on the older per-service based approach. See this video from the 2019 DevSummit for more details:&amp;nbsp;&lt;A class="link-titled" href="https://youtu.be/r0DP4c1IbEo?t=1339" title="https://youtu.be/r0DP4c1IbEo?t=1339"&gt;ArcGIS Runtime: Working with Maps Online and Offline&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that there's also the Preplanned workflow which may be suitable, depending on your use cases. It's also discussed in the above video. Both AGSGenerateOfflineMapJob and AGSDownloadPreplannedOfflineMapJob are created using&amp;nbsp;the &lt;A href="https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_offline_map_task.html"&gt;&lt;STRONG&gt;AGSOfflineMapTask&lt;/STRONG&gt;&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2019 17:35:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/tilecache-local-database-vs-agsgenerateofflinemap/m-p/398168#M3421</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2019-06-11T17:35:17Z</dc:date>
    </item>
  </channel>
</rss>

