I m using RuntimeQtSamples/main.qml at master · ldanzinger/RuntimeQtSamples · GitHub codes example to export tpk from service but when I click export button after give the Min LOD and Max LOD parameters exporting succeeded export complated but I can not see tpk layer on the map and there is no any error. Here is my console output and after exporting tpk file picture :
ArcGIS.Runtime.Plugin: void __cdecl ArcGISRuntimePlugin::registerTypes(const char *) ArcGIS.Runtime
ArcGIS.Runtime.Core: void __cdecl QmlUtils::registerTypes(const char *) ArcGIS.Runtime
int __cdecl main(int,char *) ApplicationWindow_QMLTYPE_53_QML_56(0x38c4e90)
qml: fetching map service info
qml: Service info received
qml: Estimating size...
qml: Estimated size : 957.640625 kb
qml: Export in Progress...
qml: export complete!
After exporting tpk file :
You will need to go to developers.arcgis.com, sign in with your credentials, and create a new app. This will give you client id and secret to use. I did not upload them because you should treat the secret like it is a password.
Hi Lucas ,
Im create new app and sign in with my credentials in developers.arcgis.com.I m set my client id and secret to ServiceInfoTask to use in app but when I click export button exporting succeeded export complated but I can not see tpk layer on the map and there is no any error. Console output and result picture is like previous question.How can I solve this problem ?
It works for me when I zoom to the US, and put 0-8 as my LOD. The sample is pretty bare bones, and doesn't do any validation to make sure the LODs make sense based on the extent/scale you are at. Try zooming to the US lower 48, and do 0-8, and see if that works.