<?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: LocalTileLayer not loading when running through the Player in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/localtilelayer-not-loading-when-running-through/m-p/793790#M1117</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does your path look like for referencing the local tiled layer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Apr 2016 22:00:34 GMT</pubDate>
    <dc:creator>LucasDanzinger</dc:creator>
    <dc:date>2016-04-18T22:00:34Z</dc:date>
    <item>
      <title>LocalTileLayer not loading when running through the Player</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/localtilelayer-not-loading-when-running-through/m-p/793789#M1116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I have created an offline application which uses the ArcGISLocalTileLayer function to display the map. The app loads fully when testing through the Qt Creator but the map doesn't appear when the app's loaded through the Player. Is there anything that I can do to the code to fix this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 21:11:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/localtilelayer-not-loading-when-running-through/m-p/793789#M1116</guid>
      <dc:creator>G-Palmer</dc:creator>
      <dc:date>2016-04-18T21:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: LocalTileLayer not loading when running through the Player</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/localtilelayer-not-loading-when-running-through/m-p/793790#M1117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does your path look like for referencing the local tiled layer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 22:00:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/localtilelayer-not-loading-when-running-through/m-p/793790#M1117</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2016-04-18T22:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: LocalTileLayer not loading when running through the Player</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/localtilelayer-not-loading-when-running-through/m-p/793791#M1118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's the code for the section that holds the tiled layer components&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;App {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; id: app&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; width: 1220&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; height: 880&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; property color penColor: colorDialog.color;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; property int penWidth;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rectangle {...}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Map {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id: map&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; anchors {...}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rotationByPinchingEnabled: true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zoomByPinchingEnabled: true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; positionDisplay {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; positionSource: PositionSource {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ArcGISLocalTiledLayer {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id:aerials&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; path: "WairarapaImagery.tpk"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ArcGISLocalTiledLayer {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id: vector&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; path: "WairarapaVector.tpk"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 23:46:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/localtilelayer-not-loading-when-running-through/m-p/793791#M1118</guid>
      <dc:creator>G-Palmer</dc:creator>
      <dc:date>2016-04-18T23:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: LocalTileLayer not loading when running through the Player</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/localtilelayer-not-loading-when-running-through/m-p/793792#M1119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will need to specify the path to these TPKs. In the case of AppStudio, a good cross platform method is to use is the AppFramework.userHomePath property. This will return to you the "user home" location on each device. In the case of iOS, that would be &amp;lt;application_bundle&amp;gt;/Documents. So, in your code, you could say "path: AppFramework.userHomePath + "/WairarapaImagery.tpk", and then make sure to transfer your TPK to that location on your device (usually via iTunes).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 16:33:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/localtilelayer-not-loading-when-running-through/m-p/793792#M1119</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2016-04-19T16:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: LocalTileLayer not loading when running through the Player</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/localtilelayer-not-loading-when-running-through/m-p/793793#M1120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried adding in the userHomePath but the AppStudio player is still not able to display the imagery.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 02:32:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/localtilelayer-not-loading-when-running-through/m-p/793793#M1120</guid>
      <dc:creator>G-Palmer</dc:creator>
      <dc:date>2016-04-20T02:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: LocalTileLayer not loading when running through the Player</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/localtilelayer-not-loading-when-running-through/m-p/793794#M1121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And the TPK is copied onto the device into that specified location? If not, please use iTunes to transfer the TPK from your desktop onto your device. If you have already done this, then it may be worth posting your question in the AppStudio space. Someone using AppStudio may be able to give you pointers on using the Player app with local offline data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 15:43:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/localtilelayer-not-loading-when-running-through/m-p/793794#M1121</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2016-04-20T15:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: LocalTileLayer not loading when running through the Player</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/localtilelayer-not-loading-when-running-through/m-p/793795#M1122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure to create a data folder in your app directory. Add the tpk to the data folder. I have tested this sample code and it works on both android and iPad. Can you please test it by uploading this sample and test it in the player?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import QtQuick 2.3&lt;/P&gt;&lt;P&gt;import QtQuick.Controls 1.2&lt;/P&gt;&lt;P&gt;import ArcGIS.AppFramework 1.0&lt;/P&gt;&lt;P&gt;import ArcGIS.AppFramework.Controls 1.0&lt;/P&gt;&lt;P&gt;import ArcGIS.AppFramework.Runtime 1.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;App {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; id: app&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; width: 800&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; height: 532&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; property string runtimePath: AppFramework.userHomeFolder.filePath("ArcGIS/Runtime")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; property string dataPath: runtimePath + "/Data"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; property string inputTPK: "test.tpk"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; property string outputTPK: dataPath + "/" + inputTPK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; function copyLocalData(input, output) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var resourceFolder = AppFramework.fileFolder(app.folder.folder("Data").path);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AppFramework.userHomeFolder.makePath(dataPath);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; resourceFolder.copyFile(input, output);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return output&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Envelope {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id: sfExtent&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xMin: -13643665.582273144&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; yMin: 4533030.152110769&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xMax: -13618899.985108782&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; yMax: 4554203.2089457335&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Map {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id: myMap&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; anchors.fill: parent&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; extent: sfExtent&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; focus: true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ArcGISLocalTiledLayer {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; path: copyLocalData(inputTPK, outputTPK)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 17:18:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/localtilelayer-not-loading-when-running-through/m-p/793795#M1122</guid>
      <dc:creator>nakulmanocha</dc:creator>
      <dc:date>2016-05-10T17:18:42Z</dc:date>
    </item>
  </channel>
</rss>

