AnsweredAssumed Answered

How do I load offline TPK?

Question asked by MervynLotter on Jan 1, 2018
Latest reply on Sep 6, 2019 by jay.kapalczynski

Hi there


I created a small TPK using the Tile Package Kreator. I then downloaded the AppStudio Tiled Layer sample app and tried to load my offline TPK - but I was unable to do so, not sure how to load it as sample shows how to load an online TPK.


The specific code to load URL was written as:

Map {
            id: map
            Basemap {
                // Nest an ArcGISVectorTiledLayer Layer in the Basemap
                ArcGISVectorTiledLayer {
                    url: ""

How would I change this to reference a TPK stored locally? The TPK will for now reside in the app's Data folder. Ideally I would like a user to browse to a folder where the TPK is stored but I wont try and attempt to do so now.


Thank you.