AnsweredAssumed Answered

Map fails to load a lokal TPK

Question asked by tol_global_user_account on Feb 9, 2017
Latest reply on Feb 10, 2017 by LDanzinger-esristaff

I'm not able to load a lokal TilePackage with the following code

 

...

property url dataPath: System.userHomePath + "/ArcGIS/Runtime/Data/"
...
        Map {
            id: map
Basemap {
                id: basemap
ArcGISTiledLayer {
                    id: basemapLayer
                    url: dataPath + "tpk/SanFrancisco.tpk"
                }
....

 

Is there something wrong or missing in the code above?

Outcomes