I'm not able to load a lokal TilePackage with the following code
...
property url dataPath: System.userHomePath + "/ArcGIS/Runtime/Data/" ...Map {id: mapBasemap {id: basemapArcGISTiledLayer {id: basemapLayerurl: dataPath + "tpk/SanFrancisco.tpk"}
....
Is there something wrong or missing in the code above?
ArcGISTiledLayer { TileCache { path: dataPath + "tpk/SanFrancisco.tpk" } }
I got it!
Nevertheless my own TPK created with ArcMap 10.3 did not work!
Yes, this is a known issue for now. You will have to create the TileCache object.
Can you elaborate on what you mean by it did not work? Does it not load, not display, display incorrectly?