<?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: Loading .TPK File instead of Online Basemap in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/loading-tpk-file-instead-of-online-basemap/m-p/1024993#M3950</link>
    <description>&lt;P&gt;Lucas,&lt;/P&gt;&lt;P&gt;Thank you very much for that information.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Feb 2021 19:13:37 GMT</pubDate>
    <dc:creator>ArmandoGarcia3</dc:creator>
    <dc:date>2021-02-09T19:13:37Z</dc:date>
    <item>
      <title>Loading .TPK File instead of Online Basemap</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/loading-tpk-file-instead-of-online-basemap/m-p/1024921#M3947</link>
      <description>&lt;P&gt;Hello Esri Community,&lt;/P&gt;&lt;P&gt;I know how to load a .TPK File instead of an online base map. I have used the sample esri application map maker in the past to make a small tpk map which puts it in a zip folder and I can just call that.&lt;/P&gt;&lt;P&gt;I have started to learn to use ArcGIS Pro and have began trying to make bigger maps. Do I just need to take the tpk files and put them in a folder and zip or can you just call the files?&lt;/P&gt;&lt;P&gt;This is where I am confused because the maps I've generated before came ready to go. The Maps I created on ArcGIS pro go inside my ArcGIS pro program so I am looking for guidance.&lt;/P&gt;&lt;P&gt;Can you help?&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 16:18:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/loading-tpk-file-instead-of-online-basemap/m-p/1024921#M3947</guid>
      <dc:creator>ArmandoGarcia3</dc:creator>
      <dc:date>2021-02-09T16:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Loading .TPK File instead of Online Basemap</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/loading-tpk-file-instead-of-online-basemap/m-p/1024934#M3948</link>
      <description>&lt;P&gt;Armando:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are creating maps in ArcGIS Pro, the best way to open those in Runtime is to export the data to a Mobile Map Package -&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/sharing/overview/mobile-map-package.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/help/sharing/overview/mobile-map-package.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you have a Mobile Map Package (.mmpk file) you can open in Runtime with the following code -&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-runtime-samples-qt/tree/master/ArcGISRuntimeSDKQt_CppSamples/Maps/OpenMobileMap_MapPackage" target="_blank"&gt;https://github.com/Esri/arcgis-runtime-samples-qt/tree/master/ArcGISRuntimeSDKQt_CppSamples/Maps/OpenMobileMap_MapPackage&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are wanting to only share a basemap, you can also create a TPK file directly in Pro with this tool -&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/create-map-tile-package.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/create-map-tile-package.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the Mobile Map Package has some advantages in that it retains the structure of your map, with operational layers and basemap layers, and it can be queried and interacted with like your map in Pro. A TPK is more static and loses individual attributes on features and such.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Long story short, if you &lt;EM&gt;just&lt;/EM&gt; want a basemap, a TPK or VTPK will work great. If you want to bring your Pro Maps to Runtime, MMPK is the way to go.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 16:52:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/loading-tpk-file-instead-of-online-basemap/m-p/1024934#M3948</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2021-02-09T16:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Loading .TPK File instead of Online Basemap</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/loading-tpk-file-instead-of-online-basemap/m-p/1024993#M3950</link>
      <description>&lt;P&gt;Lucas,&lt;/P&gt;&lt;P&gt;Thank you very much for that information.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 19:13:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/loading-tpk-file-instead-of-online-basemap/m-p/1024993#M3950</guid>
      <dc:creator>ArmandoGarcia3</dc:creator>
      <dc:date>2021-02-09T19:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Loading .TPK File instead of Online Basemap</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/loading-tpk-file-instead-of-online-basemap/m-p/1205285#M4695</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;Can you please provide suggestions for code below:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have implemented below code snippet of Android ArcGIS for displaying the Basemap from cache(downloaded and saved in SD card) without having internet connection, but it is not working and displays the white map blank screen.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;val tileCache1 =TileCache(&lt;EM&gt;externalCacheDir&lt;/EM&gt;.&lt;EM&gt;toString&lt;/EM&gt;() + folderpath")&lt;BR /&gt;val newTiledLayer1 = ArcGISTiledLayer(tileCache1)&lt;BR /&gt;map!!.&lt;EM&gt;basemap &lt;/EM&gt;= Basemap(newTiledLayer1)&lt;BR /&gt;&lt;EM&gt;//mapView.setViewpoint(mapView.getCurrentViewpoint(Viewpoint.Type.CENTER_AND_SCALE))&lt;BR /&gt;&lt;/EM&gt;mapView.&lt;EM&gt;map &lt;/EM&gt;= map&lt;/P&gt;&lt;P&gt;Any Suggestions how to display Basemap offline from downlaeded .tpk file?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 07:03:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/loading-tpk-file-instead-of-online-basemap/m-p/1205285#M4695</guid>
      <dc:creator>Amitkhillan</dc:creator>
      <dc:date>2022-08-23T07:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Loading .TPK File instead of Online Basemap</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/loading-tpk-file-instead-of-online-basemap/m-p/1205873#M4700</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/92357"&gt;@Amitkhillan&lt;/a&gt;&amp;nbsp;This is probably worth posting in the Android space as they may have a better idea what is going on&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 15:20:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/loading-tpk-file-instead-of-online-basemap/m-p/1205873#M4700</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2022-08-24T15:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Loading .TPK File instead of Online Basemap</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/loading-tpk-file-instead-of-online-basemap/m-p/1206212#M4701</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/184785"&gt;@LucasDanzinger&lt;/a&gt;&amp;nbsp; Thanks for the suggestion. Finally, I achieved the output which was required.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 06:03:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/loading-tpk-file-instead-of-online-basemap/m-p/1206212#M4701</guid>
      <dc:creator>Amitkhillan</dc:creator>
      <dc:date>2022-08-25T06:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Loading .TPK File instead of Online Basemap</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/loading-tpk-file-instead-of-online-basemap/m-p/1385891#M5175</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am in the same situation. I try to display in an Android application a .tpk file.&lt;/P&gt;&lt;P&gt;Can you, please, help me with some advice. How did you succeeded to display the .tpk file? How did you said above, right now I have only a blank white screen with Esri logo in bottom-right corner and nothing else.&lt;/P&gt;&lt;P&gt;The code is below:&lt;/P&gt;&lt;P&gt;String base = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM)+&lt;BR /&gt;"/myTPKFile.tpk";&lt;/P&gt;&lt;P&gt;TileCache tileCache = new TileCache(base);&lt;BR /&gt;ArcGISTiledLayer tiledLayer = new ArcGISTiledLayer(base);&lt;BR /&gt;Basemap basemap = new Basemap(tiledLayer);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ArcGISMap map = new ArcGISMap(basemap);&lt;BR /&gt;mmapView.setMap(map);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you,&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 07:03:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/loading-tpk-file-instead-of-online-basemap/m-p/1385891#M5175</guid>
      <dc:creator>RobertAnisoiu1</dc:creator>
      <dc:date>2024-02-23T07:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: Loading .TPK File instead of Online Basemap</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/loading-tpk-file-instead-of-online-basemap/m-p/1386030#M5176</link>
      <description>Give me some time to go back and review what I did and I will see what worked for me.&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Feb 2024 15:03:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/loading-tpk-file-instead-of-online-basemap/m-p/1386030#M5176</guid>
      <dc:creator>ArmandoGarcia3</dc:creator>
      <dc:date>2024-02-23T15:03:01Z</dc:date>
    </item>
  </channel>
</rss>

