I am building an iOS App that provides a selection of multiple maps including a thumbnail to every map. If a user clicks one, this map is loaded to the mapview. Before the server was secured, i retrieved the name of the thumbnail from the Map-JSON i retrieved from the server, built the right URL (like http://<server>/arcgis/mobile/content/items/<THE_MAP_ID>/info/thumbnail/thumb_mapname.png) and fetched the thumbnail manually. However, since the server is secured this method does not work, because i need the credential to access this server-area. Loading maps etc. with the credential works fine. Is there any possibility to load the thumbnails via the ArcGIS iOS SDK?
You'd have to make the HTTP request on your own to fetch the thumbnail. The SDK does not fetch it for you.
You can use the AGSRequestOperation class; this class makes it easy to make custom HTTP requests. If you give it a properly set up credential, it will also take care of performing the authentication for you when making that request
You'd have to make the HTTP request on your own to fetch the thumbnail. The SDK does not fetch it for you.
You can use the AGSRequestOperation class; this class makes it easy to make custom HTTP requests. If you give it a properly set up credential, it will also take care of performing the authentication for you when making that request
Did you use the SDK that technobrat recommeded to you to creat thumbnails? Did it woek well? I suggest you try to choose one whose way of processing is simple and fast to help youcreat thumnails. It will be much better if it is totally manual and can be defined by users according to itsprogramming tutorials. Try its freetrials first if possible. I hope you success. Good luck.