In this example: Generate offline map—ArcGIS Runtime SDK for Qt | ArcGIS for Developers
I don't have the import Esri.ArcGISExtras 1.1 module, and the
'DownloadButton' control gives me error, which module should I use? Thank you,
You can find the source for the sample here - arcgis-runtime-samples-qt/ArcGISRuntimeSDKQt_QMLSamples/Maps/GenerateOfflineMap at master · Esri/arcgis-runtime-samples-…
Try copying the GenerateWindow and DownloadButton into your project
If you don't have Extras, you can comment out that import. You'll need to fix up 2 more lines - change the `property real scaleFactor` to be equal to 1, and for `property url outputMapPackage`, hardcode a path or use another module to set a local file URL such as - "file:///Users/username/data.mmpk"
Ye, I did all that, getting error on DownloadButton and GenerateWindow controls:
qml: GenerateWindow is not a type
Thank you,
Thank you Lucas, that resolves the controls problems.
How ever on start map doesn't show up, I checked the web map ID and its good
Anything else is missing?
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.