My offline/online app is coming along. I am able to see and store secure data from a feature service, however I am having difficulty with the ExportTileCache Task class.
I am not even able to return the service info from AGOL's tiled maps. I believe I must set credentials from my organizational account to do this but I have not succeeded. I would appreciate a small code sample on how to create a local cache or .tpk from the online basemaps.
Thanks,
Tom
Solved! Go to Solution.
Thank you so much
Thomas,
Look at this sample Download tile cache | ArcGIS for Developers - it should clarify you the approach, even though it is for older Java version.
Next, to export cache, you need to have a Tiled Map Service with Export Tiles capability enabled. Rely on your ArcGIS for Server instance or use dedicated Esri servers for extracting tiles i.e. http:/tiledbasemaps.arcgis.com/arcgis/rest/services.
Last, but not least. Remember to check answered questions as resolved. It would help the community a bit, when looking for an answer to the similar questions you have.
Regards,
Adam
Thank you so much