Hi,
I would like to add default offline map from my application Data folder. I copy vtpk and mapinfos.json file from application Data folder to .../ArcGIS/AppStudio/Cache/applicationid/offlinecache folder. Data exists in folder but then I try to create object with ArcGISRuntimeEnvironment (code below), it throws message that my vtpk file was not found.
var vectorTiledLayer = ArcGISRuntimeEnvironment.createObject("ArcGISVectorTiledLayer", {url: vtpkUrl});
When I close application and start it second time. Then ArcGISRuntimeEnvironment creates vector tiled layer object.
I have similar behavior like in that thread: https://community.esri.com/t5/qt-maps-sdk-questions/relative-path-of-geodatabase-qml/td-p/295112
How can I refresh ArcGISRuntimeEnvironment singleton?
Hi @GKmieliauskas ,
Thanks for reaching out and having patience. This question is specific to ArcGIS Runtime; so I think @LucasDanzinger is the best person to answer your questions.