Offline map generation task completes successfully but does not include basemap

627
2
Jump to solution
11-13-2017 09:04 AM
DominicMacchiaroli
New Contributor

We are developing a simple ArcGIS Qt application that renders real-time symbology over a topographic basemap and will eventually require offline basemap capabilities. We followed the guide Offline—ArcGIS Runtime SDK for Qt | ArcGIS for Developers to demo the functionality.

The application downloads an ArcGIS Online map which uses World Topographic Map (for Export) as a basemap. The download completes successfully with no errors. However, after loading the offline map (as an mmpk directory), only the map annotations are displayed (no basemap). We've also looked at the Export Tiles example and can successfully download tiles for the above basemap, although only for a very small region (100,000 tiles = ~1 neighborhood).

Does the include basemap parameter include basemap tiles or do we need to export tiles separately using the method described in the Export Tiles example?

When we adapted the Export Tiles example to download the topographic basemap, why is the downloadable region so small compared to the estimated size given at http://www.arcgis.com/home/item.html?id=eaee8760ed754019a964a6d785613a50?

Any help is greatly appreciated!

Thanks,

Dominic

0 Kudos
1 Solution

Accepted Solutions
LucasDanzinger
Esri Frequent Contributor

Did you inspect the layer errors in the result object? GenerateOfflineMapResult Class | ArcGIS for Developers 

One guess I have is that the necessary credentials are not getting passed through successfully and so while some things can be taken offline, the Esri Basemaps cannot. This should manifest itself in the layerErrors 

View solution in original post

0 Kudos
2 Replies
LucasDanzinger
Esri Frequent Contributor

Did you inspect the layer errors in the result object? GenerateOfflineMapResult Class | ArcGIS for Developers 

One guess I have is that the necessary credentials are not getting passed through successfully and so while some things can be taken offline, the Esri Basemaps cannot. This should manifest itself in the layerErrors 

0 Kudos
DominicMacchiaroli
New Contributor

Thanks for your response! This was indeed the issue. The basemap layer reported a tile count error which we failed to check. We've since switched to exporting basemap tiles directly since that is the only layer we need. Thanks for the help Lucas!

0 Kudos