<?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: Saving a mobile map package from a vtpk file in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/saving-a-mobile-map-package-from-a-vtpk-file/m-p/1413398#M2856</link>
    <description>&lt;P&gt;Thanks &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/48868"&gt;@MarkBaird&lt;/a&gt;,&amp;nbsp;we reported the missing feature to our ESRI contact.&lt;/P&gt;</description>
    <pubDate>Mon, 22 Apr 2024 08:57:34 GMT</pubDate>
    <dc:creator>padmalcom</dc:creator>
    <dc:date>2024-04-22T08:57:34Z</dc:date>
    <item>
      <title>Saving a mobile map package from a vtpk file</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/saving-a-mobile-map-package-from-a-vtpk-file/m-p/1410220#M2851</link>
      <description>&lt;P&gt;Hi, we want to load a vtpk file and create a mobile map package from an smaller envelope of that vector tile package. My approach is:&lt;/P&gt;&lt;P&gt;File tpkFile = new File("C:\\Users\\admin\\Downloads\\map.vtpk");&lt;BR /&gt;TileCache cache = new TileCache(tpkFile.getAbsolutePath());&lt;BR /&gt;ArcGISTiledLayer tiledLayer = new ArcGISTiledLayer(cache);&lt;BR /&gt;ArcGISMap map = new ArcGISMap(new Basemap(tiledLayer));&lt;BR /&gt;OfflineMapTask offlineMapTask = new OfflineMapTask(map);&lt;/P&gt;&lt;P&gt;But the last line throws an IllegalArgumentException with the error message "&lt;SPAN&gt;onlineMap must be a web map&lt;/SPAN&gt;". Can you provide help how to create a mobile map package from a vtpk file?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 13:41:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/saving-a-mobile-map-package-from-a-vtpk-file/m-p/1410220#M2851</guid>
      <dc:creator>padmalcom</dc:creator>
      <dc:date>2024-04-16T13:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Saving a mobile map package from a vtpk file</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/saving-a-mobile-map-package-from-a-vtpk-file/m-p/1410254#M2852</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/682249"&gt;@padmalcom&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What you are trying to do here isn't possible I'm afraid; not in the Maps SDK alone.&lt;/P&gt;&lt;P&gt;The offline map tasks which generates a mobile map package is for use with a web map which is published in ArcGIS Online or your own Enterprise environment.&amp;nbsp; The creation of the mobile map package is a server side operation and there is no logic in the Maps SDK to perform this operation.&lt;/P&gt;&lt;P&gt;The solution here might be to publish your vector tile data into a webmap and you can use that to request a smaller area using the offline &lt;A href="https://developers.arcgis.com/java/offline-maps-scenes-and-data/" target="_self"&gt;workflows&lt;/A&gt;.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I should also make you aware that the Maps SDK for Java is being &lt;A href="https://support.esri.com/en-us/knowledge-base/arcgis-maps-sdk-for-java-deprecation-000032164" target="_self"&gt;deprecated&lt;/A&gt; this year so you may want to consider using one of the other Native Maps SDKs for a new project.&lt;/P&gt;&lt;P&gt;Does that help?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 14:38:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/saving-a-mobile-map-package-from-a-vtpk-file/m-p/1410254#M2852</guid>
      <dc:creator>MarkBaird</dc:creator>
      <dc:date>2024-04-16T14:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Saving a mobile map package from a vtpk file</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/saving-a-mobile-map-package-from-a-vtpk-file/m-p/1410772#M2853</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/48868"&gt;@MarkBaird&lt;/a&gt;,&amp;nbsp;thanks for your fast reply. Unfortunately, we can not follow the offline map workflow since ArcGIS Enterprise on Kubernetes does not support downloading maps to a mobile map packages. That is why we are desperately looking for a workaround to create mobile map packages on server side.&lt;/P&gt;&lt;P&gt;Thank you furthermore for the deprecation hint.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 07:40:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/saving-a-mobile-map-package-from-a-vtpk-file/m-p/1410772#M2853</guid>
      <dc:creator>padmalcom</dc:creator>
      <dc:date>2024-04-17T07:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Saving a mobile map package from a vtpk file</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/saving-a-mobile-map-package-from-a-vtpk-file/m-p/1411436#M2854</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/682249"&gt;@padmalcom&lt;/a&gt;&amp;nbsp;I've reached out to someone on the Enterprise Kubernetes team to find out more about this limitation you've found.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 08:41:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/saving-a-mobile-map-package-from-a-vtpk-file/m-p/1411436#M2854</guid>
      <dc:creator>MarkBaird</dc:creator>
      <dc:date>2024-04-18T08:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: Saving a mobile map package from a vtpk file</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/saving-a-mobile-map-package-from-a-vtpk-file/m-p/1413385#M2855</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have raised this with the ArcGIS Enterprise Kubernetes team to explain the project difficulties you are experiencing with the offline workflows.&amp;nbsp; They acknowledge this is a gap in functionality which they are considering for a future release.&amp;nbsp; I would also suggest you reach out to customer services or your local distributor to report the issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There is also&amp;nbsp;the ArcGIS Enterprise Ideas board:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-enterprise-ideas/idb-p/arcgis-enterprise-ideas" target="_blank" rel="noopener noreferrer"&gt;https://community.esri.com/t5/arcgis-enterprise-ideas/idb-p/arcgis-enterprise-ideas&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 08:21:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/saving-a-mobile-map-package-from-a-vtpk-file/m-p/1413385#M2855</guid>
      <dc:creator>MarkBaird</dc:creator>
      <dc:date>2024-04-22T08:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: Saving a mobile map package from a vtpk file</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/saving-a-mobile-map-package-from-a-vtpk-file/m-p/1413398#M2856</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/48868"&gt;@MarkBaird&lt;/a&gt;,&amp;nbsp;we reported the missing feature to our ESRI contact.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 08:57:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/saving-a-mobile-map-package-from-a-vtpk-file/m-p/1413398#M2856</guid>
      <dc:creator>padmalcom</dc:creator>
      <dc:date>2024-04-22T08:57:34Z</dc:date>
    </item>
  </channel>
</rss>

