Hi!
After a couple of time, i restarted playing with the OfflineMapTask 🙂
I started with the GenerateOfflineMap (GitHub-ExamplesV100.6)
After setting networkproxy the example was not working, i had to set loginRequired to false.
Additionally, the option "Allow clients to export cache tiles" seems to be unset 😞
But then i switch to my own Enterprise (Portal and Server 10.5), create my very first webmap and add a single Url from the arcGIS Server (of Type MapServer) as basemap.
And finally, that works - great 🙂
But:
I add a second basemap to the webmap. Both can be displayed by the example - fine.
After some percent of downloading i get:
Some layer could not be taken offline. Illegal state
Both layers are basemaps ; both can be downloaded (Allow clients to export cache tiles -> yes)
I zoomed out as much as possible, so the upper basemap disappears (due to minScale/maxScale).
But the visiblityByScale shouldn´t be relevant, correct?
I started with an extent of only ~2km^2 and got a mmpk (60MB).
Finally that workflow should work with 20*30km. I expect and mmpk of a couple of GBs...
So, i am not very optimistic...
Any hints?