_mobileServiceCache = new MobileCache(@\Temp\ServiceCache); mobileServiceConnection1.Url = @"http://<ourserver>.com/ArcGIS/services/FieldLayout/Map1/MapServer/MobileServer"; mobileServiceConnection1.CreateCache(_mobileServiceCache); _mobileServiceCache.Open(); var agent = new MobileCacheSyncAgent(_mobileServiceCache, mobileServiceConnection1); agent.DownloadExtent(_mobileServiceCache.GetExtent(), 0, 0); map1.DataSources.Add(_mobileServiceCache);
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.