Hello,
I'm working on an application and trying to add map caching for offline use (using AGSGenerateOfflineMapJob)
So far I am able to save/load the map unless the areaOfInterest is too large
ERROR 001564: Requested tile count(910827722) exceeds the maximum allowed number of tiles(150000) to be exported for service World_Imagery
What I would like to do is draw a rectangle over the map and limit its size to the specified amount of tiles.
I have not found a way to determine the tile count of an AGSGeometry and I have noticed that the sample apps also fail to handle this case.
Also it seems the allowed size also depends on the basemap type, but I have not confirmed it.